1 #ifndef _ASM_IA64_BUG_H
2 #define _ASM_IA64_BUG_H
5 #if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
6 # define ia64_abort() __builtin_trap()
8 # define ia64_abort() (*(volatile int *) 0 = 0)
10 #define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); ia64_abort(); } while (0)
12 /* should this BUG be made generic? */
16 #include <asm-generic/bug.h>