31 lines
914 B
Diff
31 lines
914 B
Diff
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Sun, 26 Jul 2009 02:21:32 +0200
|
|
Subject: [PATCH 052/290] x86: Use generic rwsem_spinlocks on -rt
|
|
Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4b707497d459b106def4745d5274422c62423fa7
|
|
|
|
Simplifies the separation of anon_rw_semaphores and rw_semaphores for
|
|
-rt.
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
arch/x86/Kconfig | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
|
|
index 04a45d6d0167..1b05ae86bdde 100644
|
|
--- a/arch/x86/Kconfig
|
|
+++ b/arch/x86/Kconfig
|
|
@@ -264,8 +264,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
|