summaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt2007-03-08 11:41:21 +0100
committerPaul Mundt2007-05-07 04:10:53 +0200
commitfa69151173b1fc6fa3ced0edd5c2ea83b5d32bc1 (patch)
treee7af97ccddc06d54dd6d6982a64cbf4982693379 /arch/sh/Kconfig
parentsh: speculative execution support for SH7780. (diff)
downloadkernel-qcow2-linux-fa69151173b1fc6fa3ced0edd5c2ea83b5d32bc1.tar.gz
kernel-qcow2-linux-fa69151173b1fc6fa3ced0edd5c2ea83b5d32bc1.tar.xz
kernel-qcow2-linux-fa69151173b1fc6fa3ced0edd5c2ea83b5d32bc1.zip
sh: generic BUG() support.
Wire up GENERIC_BUG for SH. This moves off of the special bug frame and on to the generic struct bug_entry. Roughly the same semantics are retained, and we can kill off some of the verbose BUG() reporting code. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2715834f72be..51d9d0ab39c6 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -22,6 +22,10 @@ config RWSEM_GENERIC_SPINLOCK
config RWSEM_XCHGADD_ALGORITHM
bool
+config GENERIC_BUG
+ def_bool y
+ depends on BUG
+
config GENERIC_FIND_NEXT_BIT
bool
default y