aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-11-13 11:21:20 -0500
committerGary S. Robertson <gary.robertson@linaro.org>2014-05-07 08:56:11 -0500
commitdecda4481ab230dd86dc67a34ed05ea6f62398ca (patch)
treeca617392669c3452efa05dc99a1d0bfe04e8efb6
parente31e727ef0624b33acfe369afdc8b100bf33b33b (diff)
Powerpc: Use generic rwsem on RT
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 fe404e77246e..8cf88a1e15ba 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