MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-sh / bug.h
blobea41e17bb9593deb712ec75e93fd8a59ac33655c
1 #ifndef __ASM_SH_BUG_H
2 #define __ASM_SH_BUG_H
4 #include <linux/config.h>
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 asm volatile("nop"); \
12 } while (0)
14 #define HAVE_ARCH_BUG
15 #include <asm-generic/bug.h>
17 #endif