xref: /openbmc/linux/arch/ia64/include/asm/bug.h (revision 160b8e75)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_IA64_BUG_H
3 #define _ASM_IA64_BUG_H
4 
5 #ifdef CONFIG_BUG
6 #define ia64_abort()	__builtin_trap()
7 #define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); ia64_abort(); } while (0)
8 
9 /* should this BUG be made generic? */
10 #define HAVE_ARCH_BUG
11 #endif
12 
13 #include <asm-generic/bug.h>
14 
15 #endif
16