bug.h 298 B

1234567891011121314151617
  1. #ifndef __ASM_SH_BUG_H
  2. #define __ASM_SH_BUG_H
  3. #include <linux/config.h>
  4. /*
  5. * Tell the user there is some problem.
  6. */
  7. #define BUG() do { \
  8. printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
  9. *(volatile int *)0 = 0; \
  10. } while (0)
  11. #define HAVE_ARCH_BUG
  12. #include <asm-generic/bug.h>
  13. #endif