[PATCH] x86: error_code is not safe for kprobes
[linux-2.6] / include / asm-parisc / bug.h
1 #ifndef _PARISC_BUG_H
2 #define _PARISC_BUG_H
3
4 #ifdef CONFIG_BUG
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)
11 #endif
12
13 #include <asm-generic/bug.h>
14 #endif