aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-03-08 05:41:21 -0500
committerPaul Mundt <lethal@hera.kernel.org>2007-05-06 22:10:53 -0400
commitfa69151173b1fc6fa3ced0edd5c2ea83b5d32bc1 (patch)
treee7af97ccddc06d54dd6d6982a64cbf4982693379 /arch/sh/Kconfig
parent45ed285b54930767937deb0eaf718b1d08c3c475 (diff)
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
22config RWSEM_XCHGADD_ALGORITHM 22config RWSEM_XCHGADD_ALGORITHM
23 bool 23 bool
24 24
25config GENERIC_BUG
26 def_bool y
27 depends on BUG
28
25config GENERIC_FIND_NEXT_BIT 29config GENERIC_FIND_NEXT_BIT
26 bool 30 bool
27 default y 31 default y