aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-26 02:21:32 +0200
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-02-13 00:36:13 +0100
commit13ccad87eb3e138d46a73cc8327f2e8afb77c21a (patch)
tree7d64cc7aecaaa24c277277951e146851c3c62c9b
parente16577630dd66e61f12eeb2540c2e83333db9a21 (diff)
downloadrt-linux-13ccad87eb3e138d46a73cc8327f2e8afb77c21a.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/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index db3622f22b618..a2d6e332461b0 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