]> 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)
commit816aee1ad494261b39a3a77679f32349802c60f2
tree44b2ed95cbebba24dffdf2af414e25fdeaeb7a27
parent694030d6f0a2086c522741a259a77c9a3cd9bd8b
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