]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _PARISC_BUG_H |
2 | #define _PARISC_BUG_H | |
3 | ||
c8538a7a | 4 | #ifdef CONFIG_BUG |
1da177e4 LT |
5 | #define HAVE_ARCH_BUG |
6 | #define BUG() do { \ | |
7 | printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ | |
8 | dump_stack(); \ | |
9 | panic("BUG!"); \ | |
10 | } while (0) | |
c8538a7a | 11 | #endif |
1da177e4 LT |
12 | |
13 | #include <asm-generic/bug.h> | |
14 | #endif |