31 lines
883 B
Diff
31 lines
883 B
Diff
From 828f2c41971123b04b3fea44459e0ff642b917f7 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Sun, 26 Jul 2009 02:21:32 +0200
|
|
Subject: [203/256] 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>
|
|
---
|
|
arch/x86/Kconfig | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
|
|
index c9866b0..f556832 100644
|
|
--- a/arch/x86/Kconfig
|
|
+++ b/arch/x86/Kconfig
|
|
@@ -155,10 +155,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
|