aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/futex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index a12425051ee9..3415e9ad1391 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -2060,8 +2060,10 @@ asmlinkage long sys_futex(u32 __user *uaddr, int op, u32 val,
2060 } 2060 }
2061 /* 2061 /*
2062 * requeue parameter in 'utime' if cmd == FUTEX_REQUEUE. 2062 * requeue parameter in 'utime' if cmd == FUTEX_REQUEUE.
2063 * number of waiters to wake in 'utime' if cmd == FUTEX_WAKE_OP.
2063 */ 2064 */
2064 if (cmd == FUTEX_REQUEUE || cmd == FUTEX_CMP_REQUEUE) 2065 if (cmd == FUTEX_REQUEUE || cmd == FUTEX_CMP_REQUEUE ||
2066 cmd == FUTEX_WAKE_OP)
2065 val2 = (u32) (unsigned long) utime; 2067 val2 = (u32) (unsigned long) utime;
2066 2068
2067 return do_futex(uaddr, op, val, tp, uaddr2, val2, val3); 2069 return do_futex(uaddr, op, val, tp, uaddr2, val2, val3);