Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
644a24b3
Commit
644a24b3
authored
May 25, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FUTEX]: Fix kernel/compat.c after requeueing futex changes.
parent
1bca1320
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
kernel/compat.c
kernel/compat.c
+4
-3
No files found.
kernel/compat.c
View file @
644a24b3
...
...
@@ -214,7 +214,7 @@ asmlinkage long compat_sys_sigprocmask(int how, compat_old_sigset_t *set,
#ifdef CONFIG_FUTEX
asmlinkage
long
compat_sys_futex
(
u32
*
uaddr
,
int
op
,
int
val
,
struct
compat_timespec
*
utime
)
struct
compat_timespec
*
utime
,
u32
*
uaddr2
)
{
struct
timespec
t
;
unsigned
long
timeout
=
MAX_SCHEDULE_TIMEOUT
;
...
...
@@ -226,9 +226,10 @@ asmlinkage long compat_sys_futex(u32 *uaddr, int op, int val,
timeout
=
timespec_to_jiffies
(
&
t
)
+
1
;
}
if
(
op
==
FUTEX_REQUEUE
)
val2
=
(
int
)
utime
;
val2
=
(
int
)
(
long
)
utime
;
return
do_futex
((
unsigned
long
)
uaddr
,
op
,
val
,
timeout
,
uaddr2
,
val2
);
return
do_futex
((
unsigned
long
)
uaddr
,
op
,
val
,
timeout
,
(
unsigned
long
)
uaddr2
,
val2
);
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment