1 2 3 4 5 6 7 8 9 10 11 12 13 14
#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