]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef _ASM_IA64_BUG_H |
3 | #define _ASM_IA64_BUG_H | |
4 | ||
c8538a7a | 5 | #ifdef CONFIG_BUG |
a1365647 | 6 | #define ia64_abort() __builtin_trap() |
1da177e4 LT |
7 | #define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); ia64_abort(); } while (0) |
8 | ||
c8538a7a | 9 | /* should this BUG be made generic? */ |
1da177e4 | 10 | #define HAVE_ARCH_BUG |
c8538a7a MM |
11 | #endif |
12 | ||
1da177e4 LT |
13 | #include <asm-generic/bug.h> |
14 | ||
15 | #endif |