sh: Fix handle_BUG() compile error.
authorNobuhiro Iwamatsu <hemamu@t-base.ne.jp>
Mon, 1 Jan 2007 00:21:43 +0000 (09:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Feb 2007 01:54:45 +0000 (10:54 +0900)
commit86b67ef7518d1fcd4489dc464d4c33a274a1c635
tree178485345d72d36e64d8da1f4b890477170c5163
parentadac9570966eb2eb137209e552b258d4d1d4825b
sh: Fix handle_BUG() compile error.

handle_BUG() uses TRAPA_BUG_OPCODE which is only defined for
CONFIG_BUG, make sure it's not built when CONFIG_BUG=n.

Signed-off-by: Nobuhiro Iwamatsu <hemamu@t-base.ne.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps.c