futex: make futex_parse_waitv() available as a helper
authorJens Axboe <axboe@kernel.dk>
Tue, 13 Jun 2023 14:31:58 +0000 (08:31 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Sep 2023 15:41:32 +0000 (09:41 -0600)
commitc0a4045dbaf7600641e33d63447a49abbfc335ee
treeea5d3e97ffd293edda00866d94c895d8d79c3a32
parent478a69ffeb76c47a5b5f00f11521d5811bc538eb
futex: make futex_parse_waitv() available as a helper

To make it more generically useful, augment it with allowing the caller
to pass in the wake handler and wake data. Convert the futex_waitv()
syscall, passing in the default handlers.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/futex/futex.h
kernel/futex/syscalls.c