From dd00fd624354e5236372fae427d7452dfd81bec6 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 26 Oct 2013 00:01:58 +0200 Subject: 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 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" -- cgit v0.10.2