summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2013-10-25 22:01:58 (GMT)
committerScott Wood <scottwood@freescale.com>2014-05-14 18:38:34 (GMT)
commit146adb95c1ce531d12f5b724ef0e98ccb79b95c0 (patch)
treea91b03d0d14a17dfcbe808ffbc1d9da1a2ddbf17 /lib
parent12592110b8a4080a3e74eb99ea8e2bb93078ec66 (diff)
downloadlinux-fsl-qoriq-146adb95c1ce531d12f5b724ef0e98ccb79b95c0.tar.xz
lockref: disable 64bit cmpxchg optimization on RT
One of the requirements is that the lock has to fit in an u32 which does not work with the sleeping locks. We would have to use the bare raw locks for this and I would like to avoid this. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index b3c8be0..c742a2d 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -57,6 +57,7 @@ config CMPXCHG_LOCKREF
depends on !GENERIC_LOCKBREAK
depends on !DEBUG_SPINLOCK
depends on !DEBUG_LOCK_ALLOC
+ depends on !PREEMPT_RT_BASE
config CRC_CCITT
tristate "CRC-CCITT functions"