bug.h 298 B

12345678910111213141516171819
  1. #ifndef __ASM_SH_BUG_H
  2. #define __ASM_SH_BUG_H
  3. #ifdef CONFIG_BUG
  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. #endif
  13. #include <asm-generic/bug.h>
  14. #endif