[PATCH] Kprobes: Track kprobe on a per_cpu basis - ppc64 changes
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-m68k / bug.h
blob072ce274d53751d3ecbff96f0b2dca93b8056e97
1 #ifndef _M68K_BUG_H
2 #define _M68K_BUG_H
4 #include <linux/config.h>
6 #ifdef CONFIG_BUG
7 #ifdef CONFIG_DEBUG_BUGVERBOSE
8 #ifndef CONFIG_SUN3
9 #define BUG() do { \
10 printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
11 asm volatile("illegal"); \
12 } while (0)
13 #else
14 #define BUG() do { \
15 printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
16 panic("BUG!"); \
17 } while (0)
18 #endif
19 #else
20 #define BUG() do { \
21 asm volatile("illegal"); \
22 } while (0)
23 #endif
25 #define HAVE_ARCH_BUG
26 #endif
28 #include <asm-generic/bug.h>
30 #endif