]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/bug.h
[SCSI] sr: fix test unit ready responses
[linux-2.6-omap-h63xx.git] / include / asm-sh / bug.h
index a78d482e8b2f378969fc86b907f8a1625b83b1bd..c01718040166e2141fe68357e57fe637e9f20edf 100644 (file)
@@ -3,7 +3,7 @@
 
 #define TRAPA_BUG_OPCODE       0xc33e  /* trapa #0x3e */
 
-#ifdef CONFIG_BUG
+#ifdef CONFIG_GENERIC_BUG
 #define HAVE_ARCH_BUG
 #define HAVE_ARCH_WARN_ON
 
@@ -72,12 +72,7 @@ do {                                                 \
        unlikely(__ret_warn_on);                                \
 })
 
-struct pt_regs;
-
-/* arch/sh/kernel/traps.c */
-void handle_BUG(struct pt_regs *);
-
-#endif /* CONFIG_BUG */
+#endif /* CONFIG_GENERIC_BUG */
 
 #include <asm-generic/bug.h>