summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-04-25 01:45:11 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:57 (GMT)
commit59e33fe94da7ef968f762aea4a4d92fc612628a6 (patch)
treecd39201513299430763cbd6959cdaa3679126c99 /arch
parent71c996052e09de81f99f96de857e514790d89def (diff)
downloadlinux-fsl-qoriq-59e33fe94da7ef968f762aea4a4d92fc612628a6.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 2e0ddfa..877309b 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