summaryrefslogtreecommitdiff
path: root/patches/mutex-no-spin-on-rt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/mutex-no-spin-on-rt.patch')
-rw-r--r--patches/mutex-no-spin-on-rt.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/patches/mutex-no-spin-on-rt.patch b/patches/mutex-no-spin-on-rt.patch
deleted file mode 100644
index 3f193ac4a184..000000000000
--- a/patches/mutex-no-spin-on-rt.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Thomas Gleixner <tglx@linutronix.de>
-Date: Sun, 17 Jul 2011 21:51:45 +0200
-Subject: locking: Disable spin on owner for RT
-
-Drop spin on owner for mutex / rwsem. We are most likely not using it
-but…
-
-Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
----
- kernel/Kconfig.locks | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/kernel/Kconfig.locks
-+++ b/kernel/Kconfig.locks
-@@ -226,11 +226,11 @@ config ARCH_SUPPORTS_ATOMIC_RMW
-
- config MUTEX_SPIN_ON_OWNER
- def_bool y
-- depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW
-+ depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW && !PREEMPT_RT_FULL
-
- config RWSEM_SPIN_ON_OWNER
- def_bool y
-- depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW
-+ depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW && !PREEMPT_RT_FULL
-
- config LOCK_SPIN_ON_OWNER
- def_bool y