futex: Allow for compiling out PI support
authorNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 1 Aug 2017 04:31:32 +0000 (00:31 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 1 Aug 2017 12:36:35 +0000 (14:36 +0200)
commitbc2eecd7ecce40af43b6eb3d256b6076257df846
treed4189369c4484b144f9cb3d72455ac3a5207dd37
parentf06e8c584fa0d05312c11ea66194f3d2efb93c21
futex: Allow for compiling out PI support

This makes it possible to preserve basic futex support and compile out the
PI support when RT mutexes are not available.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Darren Hart <dvhart@infradead.org>
Link: http://lkml.kernel.org/r/alpine.LFD.2.20.1708010024190.5981@knanqh.ubzr
include/linux/futex.h
init/Kconfig
kernel/futex.c
kernel/locking/rtmutex_common.h