linux/include/asm-parisc/bug.h

15 lines
254 B
C

#ifndef _PARISC_BUG_H
#define _PARISC_BUG_H
#ifdef CONFIG_BUG
#define HAVE_ARCH_BUG
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
dump_stack(); \
panic("BUG!"); \
} while (0)
#endif
#include <asm-generic/bug.h>
#endif