bug.h 311 B

1234567891011121314
  1. #ifndef _ASM_IA64_BUG_H
  2. #define _ASM_IA64_BUG_H
  3. #ifdef CONFIG_BUG
  4. #define ia64_abort() __builtin_trap()
  5. #define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); ia64_abort(); } while (0)
  6. /* should this BUG be made generic? */
  7. #define HAVE_ARCH_BUG
  8. #endif
  9. #include <asm-generic/bug.h>
  10. #endif