diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-26 02:21:32 +0200 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2015-12-23 23:36:48 +0100 |
commit | 4d03ce176cf6960ee04f86d0853da5b26c853506 (patch) | |
tree | 55e78fb54e2d0211d05f0d0f7948717a74288b2f /arch/x86/Kconfig | |
parent | 80720717de9b176cb16461bbb3a8db3a0a24b0aa (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/x86/Kconfig')
-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 db3622f22b61..a2d6e332461b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -212,8 +212,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 |