diff options
Diffstat (limited to 'include/asm-ppc')
| -rw-r--r-- | include/asm-ppc/bug.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/asm-ppc/bug.h b/include/asm-ppc/bug.h index be916f56f9f2..bfc896f2daa1 100644 --- a/include/asm-ppc/bug.h +++ b/include/asm-ppc/bug.h @@ -1,21 +1,11 @@ #ifndef _PPC_BUG_H #define _PPC_BUG_H -#include <linux/config.h> -#include <asm/xmon.h> - -#ifdef CONFIG_XMON -extern void xmon(struct pt_regs *); -#define BUG() do { \ - printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ - xmon(0); \ -} while (0) -#else #define BUG() do { \ printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ __asm__ __volatile__(".long 0x0"); \ } while (0) -#endif + #define PAGE_BUG(page) do { BUG(); } while (0) #endif |
