linux/debian/patches-rt/0048-powerpc-Use-generic-rw...

34 lines
882 B
Diff
Raw Normal View History

2020-03-06 11:44:27 +00:00
From c90bc1f0bbce77f2baf2b4213125fb5b7870fc20 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 14 Jul 2015 14:26:34 +0200
2020-02-21 18:07:43 +00:00
Subject: [PATCH 048/319] powerpc: Use generic rwsem on RT
2020-03-06 11:44:27 +00:00
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.106-rt44.tar.xz
Use generic code which uses rtmutex
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
2019-04-08 23:49:20 +00:00
arch/powerpc/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2019-04-08 23:49:20 +00:00
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
2020-02-21 18:07:43 +00:00
index 6f475dc5829b..3d5c86336072 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -105,10 +105,11 @@ config LOCKDEP_SUPPORT
config RWSEM_GENERIC_SPINLOCK
bool
+ default y if PREEMPT_RT_FULL
config RWSEM_XCHGADD_ALGORITHM
bool
- default y
+ default y if !PREEMPT_RT_FULL
config GENERIC_LOCKBREAK
bool
2020-01-03 23:36:11 +00:00
--
2020-02-21 18:07:43 +00:00
2.25.0
2020-01-03 23:36:11 +00:00