]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef __ASM_SH_BUG_H |
2 | #define __ASM_SH_BUG_H | |
3 | ||
1da177e4 | 4 | |
c8538a7a | 5 | #ifdef CONFIG_BUG |
1da177e4 LT |
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 | |
c8538a7a MM |
15 | #endif |
16 | ||
1da177e4 LT |
17 | #include <asm-generic/bug.h> |
18 | ||
19 | #endif |