diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-26 02:21:32 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-01-24 10:51:22 -0500 |
commit | 18737d848a0cc3930d9df3a616d0b85045b8636d (patch) | |
tree | b17421148cba364766b66c37304266d79f5d9885 | |
parent | 895195925e18d9f0159caa2276826c53d814e645 (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 37357a599dca..fe4ccf6361dd 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -152,10 +152,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 |