bug.h 256 B

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