bug.h 328 B

12345678910111213141516171819202122
  1. #ifndef __ASM_BUG_H
  2. #define __ASM_BUG_H
  3. #include <linux/config.h>
  4. #ifdef CONFIG_BUG
  5. #include <asm/break.h>
  6. #ifdef CONFIG_BUG
  7. #define HAVE_ARCH_BUG
  8. #define BUG() \
  9. do { \
  10. __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \
  11. } while (0)
  12. #endif
  13. #endif
  14. #include <asm-generic/bug.h>
  15. #endif /* __ASM_BUG_H */