bug.h 324 B

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