diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-10-26 00:01:58 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-04-24 21:45:07 -0400 |
commit | 2f49f1f46e590139c25240d017931c20b5c8e114 (patch) | |
tree | ba755010f66f7a469ddc31e12000f951a6796450 /lib | |
parent | 3fb30195943e62b8a4283dd01d0e98fe35ed01f7 (diff) |
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index b3c8be0da17f..c742a2d89270 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" |