33 lines
780 B
Diff
33 lines
780 B
Diff
|
From a1510630d55e3206b2642bf6b5eb0790e2e6ec0c Mon Sep 17 00:00:00 2001
|
||
|
From: Thomas Gleixner <tglx@linutronix.de>
|
||
|
Date: Tue, 14 Jul 2015 14:26:34 +0200
|
||
|
Subject: [PATCH 248/365] powerpc: Use generic rwsem on RT
|
||
|
|
||
|
Use generic code which uses rtmutex
|
||
|
|
||
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
||
|
---
|
||
|
arch/powerpc/Kconfig | 3 ++-
|
||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
|
||
|
index f529d3d9d88d..91dd1d67e723 100644
|
||
|
--- a/arch/powerpc/Kconfig
|
||
|
+++ b/arch/powerpc/Kconfig
|
||
|
@@ -52,10 +52,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
|
||
|
--
|
||
|
2.28.0
|
||
|
|