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