2020-08-28 04:53:35 +00:00
|
|
|
From ad23b6483e30d8483a7afd6a6ee001fe2f4b54dc Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <ad23b6483e30d8483a7afd6a6ee001fe2f4b54dc.1596234183.git.zanussi@kernel.org>
|
|
|
|
In-Reply-To: <378ee68279f6a7631221f2670a9298620148690d.1596234183.git.zanussi@kernel.org>
|
|
|
|
References: <378ee68279f6a7631221f2670a9298620148690d.1596234183.git.zanussi@kernel.org>
|
2018-08-27 14:32:32 +00:00
|
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
Date: Sun, 26 Jul 2009 02:21:32 +0200
|
2020-07-15 20:05:29 +00:00
|
|
|
Subject: [PATCH 052/329] x86: Use generic rwsem_spinlocks on -rt
|
2020-08-28 04:53:35 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.135-rt60.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
Simplifies the separation of anon_rw_semaphores and rw_semaphores for
|
|
|
|
-rt.
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
arch/x86/Kconfig | 5 ++++-
|
2018-08-27 14:32:32 +00:00
|
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
|
2020-01-03 23:36:11 +00:00
|
|
|
index e40ba59efe7f..f22e787329cf 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/arch/x86/Kconfig
|
|
|
|
+++ b/arch/x86/Kconfig
|
2018-10-30 12:40:05 +00:00
|
|
|
@@ -264,8 +264,11 @@ config ARCH_MAY_HAVE_PC_FDC
|
2018-08-27 14:32:32 +00:00
|
|
|
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
|
2020-01-03 23:36:11 +00:00
|
|
|
--
|
2020-06-22 13:14:16 +00:00
|
|
|
2.17.1
|
2020-01-03 23:36:11 +00:00
|
|
|
|