sh: define GENERIC_LOCKBREAK.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Aug 2008 05:09:15 +0000 (14:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 4 Aug 2008 05:09:15 +0000 (14:09 +0900)
Needed for fixing up the __raw_spin_is_contended() reference which
results in a build error.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig

index 0ae5411..37b9101 100644 (file)
@@ -63,6 +63,10 @@ config GENERIC_TIME
 config GENERIC_CLOCKEVENTS
        def_bool n
 
+config GENERIC_LOCKBREAK
+       def_bool y
+       depends on SMP && PREEMPT
+
 config SYS_SUPPORTS_PM
        bool