diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-26 02:21:32 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-01-16 13:00:32 -0600 |
commit | cb1dab409b099c4560e30f01a73a883a42cdd1d3 (patch) | |
tree | ccbe2322947c106fce8114841fda2f33e467801f | |
parent | 73b308a0b25c4c4f32d3c800e106281d79298c11 (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>
-rw-r--r-- | arch/x86/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index efb42949cc09..e084a738c69b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -161,10 +161,10 @@ config ARCH_MAY_HAVE_PC_FDC def_bool ISA_DMA_API config RWSEM_GENERIC_SPINLOCK - def_bool !X86_XADD + def_bool !X86_XADD || PREEMPT_RT_FULL config RWSEM_XCHGADD_ALGORITHM - def_bool X86_XADD + def_bool X86_XADD && !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT_FULL config ARCH_HAS_CPU_IDLE_WAIT def_bool y |