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 0ae541107f3f15e98f4da4e50f9c7b5f54eba2fd..37b91017818d295143c47ef6be2f70bbbaecc984 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