blob: 695588da41f8a73bb31d3fbeb7c686bf0fdfa751 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _PARISC_BUG_H
2#define _PARISC_BUG_H
3
Matt Mackallc8538a72005-05-01 08:59:01 -07004#ifdef CONFIG_BUG
Linus Torvalds1da177e2005-04-16 15:20:36 -07005#define HAVE_ARCH_BUG
6#define BUG() do { \
7 printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
8 dump_stack(); \
9 panic("BUG!"); \
10} while (0)
Matt Mackallc8538a72005-05-01 08:59:01 -070011#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13#include <asm-generic/bug.h>
14#endif