aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-26 02:21:32 +0200
committerAnders Roxell <anders.roxell@linaro.org>2015-08-17 08:59:27 +0200
commitce9bc1331525c62269430add792360e016fbd7e9 (patch)
treee2d03fe254e94e354a0170973bf4c2454e779fcd /arch
parent77305fb67bc6a9d3a0bfda0ff17dc5964e86dfb1 (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')
-rw-r--r--arch/x86/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 226d5696e1d1..185c6e02263b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -203,8 +203,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