summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-04 09:09:15 +0400
committerPaul Mundt <lethal@linux-sh.org>2008-08-04 09:09:15 +0400
commitbdcab87b1c54f61dbc0a77648fee4c2b17964d5c (patch)
treefd7e41c022c5a1149822a3541373eb73fee847cf /arch/sh
parentc3b4adfa65bae300a143188491e285556ca80fff (diff)
downloadlinux-bdcab87b1c54f61dbc0a77648fee4c2b17964d5c.tar.xz
sh: define GENERIC_LOCKBREAK.
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>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 0ae541107f3f..37b91017818d 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -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