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
This commit is contained in:
committed by
Thomas Gleixner
parent
f06e8c584f
commit
bc2eecd7ec
+6
-1
@@ -1275,12 +1275,17 @@ config BASE_FULL
|
||||
config FUTEX
|
||||
bool "Enable futex support" if EXPERT
|
||||
default y
|
||||
select RT_MUTEXES
|
||||
imply RT_MUTEXES
|
||||
help
|
||||
Disabling this option will cause the kernel to be built without
|
||||
support for "fast userspace mutexes". The resulting kernel may not
|
||||
run glibc-based applications correctly.
|
||||
|
||||
config FUTEX_PI
|
||||
bool
|
||||
depends on FUTEX && RT_MUTEXES
|
||||
default y
|
||||
|
||||
config HAVE_FUTEX_CMPXCHG
|
||||
bool
|
||||
depends on FUTEX
|
||||
|
||||
Reference in New Issue
Block a user