bug.h 229 B

123456789101112
  1. #ifndef _PARISC_BUG_H
  2. #define _PARISC_BUG_H
  3. #define HAVE_ARCH_BUG
  4. #define BUG() do { \
  5. printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
  6. dump_stack(); \
  7. panic("BUG!"); \
  8. } while (0)
  9. #include <asm-generic/bug.h>
  10. #endif