diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-26 02:21:32 +0200 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2015-06-26 22:31:02 +0200 |
commit | 64627c74476c83e72651c10d40457786f48fb1e2 (patch) | |
tree | 1ed7ee48a7ba7677c59369173a0e1025f8730afa /arch | |
parent | 813f814d8a4403f4b2c094a1884abfb7453245d5 (diff) |
x86: Use generic rwsem_spinlocks on -rt
Simplifies the separation of anon_rw_semaphores and rw_semaphores for
-rt.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2f645c90e4d8..509cafea7ef0 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -184,8 +184,11 @@ config ARCH_MAY_HAVE_PC_FDC def_bool y depends on ISA_DMA_API +config RWSEM_GENERIC_SPINLOCK + def_bool PREEMPT_RT_FULL + config RWSEM_XCHGADD_ALGORITHM - def_bool y + def_bool !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT_FULL config GENERIC_CALIBRATE_DELAY def_bool y |