bug.h 304 B

123456789101112131415161718192021
  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. #define BUG() \
  7. do { \
  8. __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \
  9. } while (0)
  10. #define HAVE_ARCH_BUG
  11. #endif
  12. #include <asm-generic/bug.h>
  13. #endif /* __ASM_BUG_H */