]> git.baikalelectronics.ru Git - kernel.git/commit
futex: Make syscall entry points less convoluted
authorThomas Gleixner <tglx@linutronix.de>
Thu, 22 Apr 2021 19:44:21 +0000 (21:44 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 6 May 2021 18:19:04 +0000 (20:19 +0200)
commitbcf8f787181a0cc66f60588cd7c80de478b693df
tree44b2ed95cbebba24dffdf2af414e25fdeaeb7a27
parentf552f65670ccfe67dac70047a3fe25cd3855508f
futex: Make syscall entry points less convoluted

The futex and the compat syscall entry points do pretty much the same
except for the timespec data types and the corresponding copy from
user function.

Split out the rest into inline functions and share the functionality.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210422194705.244476369@linutronix.de
kernel/futex.c