summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-26 02:21:32 +0200
committerSteven Rostedt <rostedt@rostedt.homelinux.com>2013-08-16 21:59:48 -0400
commit11a290361bf868a365be8ea66e81b43fa18f2dca (patch)
treeae2f7796bf9999c37d7ad575dafb749a91eb4d0e
parent38e3827b70bdf0c14d6a6796d2fd1089464e7cd6 (diff)
downloadlinux-rt-11a290361bf868a365be8ea66e81b43fa18f2dca.tar.gz
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/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index fb2e69db9c76..f7b9775957f9 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