]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/asm-m68k/bug.h
Merge with temp tree to get David's gdb inferior calls patch
[mirror_ubuntu-bionic-kernel.git] / include / asm-m68k / bug.h
1 #ifndef _M68K_BUG_H
2 #define _M68K_BUG_H
3
4 #include <linux/config.h>
5
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
24
25 #define HAVE_ARCH_BUG
26 #endif
27
28 #include <asm-generic/bug.h>
29
30 #endif