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-04-10 00:19:40 (GMT)
commitba989baf3928a0c76976f81af14c7d192b4686ad (patch)
treeba755010f66f7a469ddc31e12000f951a6796450 /lib
parent578bfff9b7013e30b60649b24b75ab79c634525f (diff)
downloadlinux-fsl-qoriq-ba989baf3928a0c76976f81af14c7d192b4686ad.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"