diff options
Diffstat (limited to 'include/asm-parisc/bug.h')
| -rw-r--r-- | include/asm-parisc/bug.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-parisc/bug.h b/include/asm-parisc/bug.h new file mode 100644 index 000000000000..d810287bb4f6 --- /dev/null +++ b/include/asm-parisc/bug.h @@ -0,0 +1,18 @@ +#ifndef _PARISC_BUG_H +#define _PARISC_BUG_H + +/* + * Tell the user there is some problem. Beep too, so we can + * see^H^H^Hhear bugs in early bootup as well! + * + * We don't beep yet. prumpf + */ +#define BUG() do { \ + printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ +} while (0) + +#define PAGE_BUG(page) do { \ + BUG(); \ +} while (0) + +#endif |
