License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / arch / ia64 / include / asm / bug.h
blobbd3eeb8d1cfa379a56456a3fd27909dbeaf2b55b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_IA64_BUG_H
3 #define _ASM_IA64_BUG_H
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)
9 /* should this BUG be made generic? */
10 #define HAVE_ARCH_BUG
11 #endif
13 #include <asm-generic/bug.h>
15 #endif