Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-sh64 / bug.h
blobf3a9c9248ef4c788826a2a6a7ec5d71c4c50f38f
1 #ifndef __ASM_SH64_BUG_H
2 #define __ASM_SH64_BUG_H
4 #ifdef CONFIG_BUG
5 /*
6 * Tell the user there is some problem, then force a segfault (in process
7 * context) or a panic (interrupt context).
8 */
9 #define BUG() do { \
10 printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
11 *(volatile int *)0 = 0; \
12 } while (0)
14 #define HAVE_ARCH_BUG
15 #endif
17 #include <asm-generic/bug.h>
19 #endif /* __ASM_SH64_BUG_H */