diff options
Diffstat (limited to 'include/asm-mips/bug.h')
| -rw-r--r-- | include/asm-mips/bug.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-mips/bug.h b/include/asm-mips/bug.h new file mode 100644 index 000000000000..a66c6f97c391 --- /dev/null +++ b/include/asm-mips/bug.h @@ -0,0 +1,8 @@ +/* $Id$ */ +#ifndef __ASM_BUG_H +#define __ASM_BUG_H + +#define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); *(int *)0=0; } while (0) +#define PAGE_BUG(page) do { BUG(); } while (0) + +#endif |
