27 lines
739 B
Diff
27 lines
739 B
Diff
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Subject: Powerpc: Use generic rwsem on RT
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/patches-3.10.4-rt1.tar.xz
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
arch/powerpc/Kconfig | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: linux-stable/arch/powerpc/Kconfig
|
|
===================================================================
|
|
--- linux-stable.orig/arch/powerpc/Kconfig
|
|
+++ linux-stable/arch/powerpc/Kconfig
|
|
@@ -60,10 +60,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
|