summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-04-10 00:19:50 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:19:50 (GMT)
commitd8d65707b6962214b5df1b9baf419cdeb7813923 (patch)
tree38471929de1254f2ecbaf90d08a22d77bd3327d7 /arch/powerpc
parent80e7055ba0962969a2a1c2666b721fdf4704c12e (diff)
downloadlinux-fsl-qoriq-d8d65707b6962214b5df1b9baf419cdeb7813923.tar.xz
Powerpc: Use generic rwsem on RT
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 38f3b7e..3cc5598 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