summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-04-04 22:09:31 (GMT)
committerScott Wood <scottwood@freescale.com>2013-04-04 22:09:31 (GMT)
commit4a6e8f41050664c793a4a3beb764c5be2604d41f (patch)
tree1b1411052314d989d70adc98cc6cd217bf256926 /arch
parent00c59821fe6309ba22590cbe2a93e2b769bb8c4f (diff)
downloadlinux-fsl-qoriq-4a6e8f41050664c793a4a3beb764c5be2604d41f.tar.xz
Powerpc: Use generic rwsem on RT
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 dabe429..d2bf89e 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