diff options
Diffstat (limited to 'include/asm-sh/bug.h')
-rw-r--r-- | include/asm-sh/bug.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-sh/bug.h b/include/asm-sh/bug.h new file mode 100644 index 000000000000..70172217140f --- /dev/null +++ b/include/asm-sh/bug.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef __ASM_SH_BUG_H | ||
2 | #define __ASM_SH_BUG_H | ||
3 | |||
4 | #include <linux/config.h> | ||
5 | |||
6 | /* | ||
7 | * Tell the user there is some problem. | ||
8 | */ | ||
9 | #define BUG() do { \ | ||
10 | printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ | ||
11 | *(volatile int *)0 = 0; \ | ||
12 | } while (0) | ||
13 | |||
14 | #define HAVE_ARCH_BUG | ||
15 | #include <asm-generic/bug.h> | ||
16 | |||
17 | #endif | ||