diff options
author | peterz@infradead.org <peterz@infradead.org> | 2023-09-21 13:45:14 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-09-21 20:22:09 +0300 |
commit | 27b88f3519e72d71c8cead6b835a26c171109c9b (patch) | |
tree | eddca24432d8d66ed29a724219baeb24772d90b2 /kernel/futex/futex.h | |
parent | 3b63a55f498b763aba0886b244df613587a73c46 (diff) | |
download | linux-27b88f3519e72d71c8cead6b835a26c171109c9b.tar.xz |
futex: Add flags2 argument to futex_requeue()
In order to support mixed size requeue, add a second flags argument to
the internal futex_requeue() function.
No functional change intended.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230921105248.396780136@noisy.programming.kicks-ass.net
Diffstat (limited to 'kernel/futex/futex.h')
-rw-r--r-- | kernel/futex/futex.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/futex/futex.h b/kernel/futex/futex.h index a8ea5ef52424..a06030a1a27b 100644 --- a/kernel/futex/futex.h +++ b/kernel/futex/futex.h @@ -328,8 +328,9 @@ extern int futex_wait_requeue_pi(u32 __user *uaddr, unsigned int flags, u32 val, ktime_t *abs_time, u32 bitset, u32 __user *uaddr2); -extern int futex_requeue(u32 __user *uaddr1, unsigned int flags, - u32 __user *uaddr2, int nr_wake, int nr_requeue, +extern int futex_requeue(u32 __user *uaddr1, unsigned int flags1, + u32 __user *uaddr2, unsigned int flags2, + int nr_wake, int nr_requeue, u32 *cmpval, int requeue_pi); extern int __futex_wait(u32 __user *uaddr, unsigned int flags, u32 val, |