aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-07-14 14:26:34 +0200
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-02-13 00:36:25 +0100
commit88ded47b6aeab0d57fd134eab25d20beb3d694a5 (patch)
treee000dfaf77c6586c658f1a2c216b0466de822f64
parent721bd57695ee6d0d523c857194912ad477e5fa57 (diff)
downloadrt-linux-88ded47b6aeab0d57fd134eab25d20beb3d694a5.tar.gz
powerpc: Use generic rwsem on RT
Use generic code which uses rtmutex Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/powerpc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index db49e0d796b1b..3261b112c80a7 100644
--- a/arch/powerpc/Kconfig
+++ b/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