aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-07-14 14:26:34 +0200
committerAnders Roxell <anders.roxell@linaro.org>2015-08-17 08:59:37 +0200
commit7d401a2add6ffa39c562e13cfcc7171a1edd688b (patch)
treef54d359879c4ead12e002334de2d6f884de3626a /arch
parentee054b6da88af6bc6924c9410c2fc60df26be46a (diff)
powerpc: Use generic rwsem on RT
Use generic code which uses rtmutex Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 190cc48abc0c..32340cec6656 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