diff options
Diffstat (limited to 'include/asm-s390/bug.h')
-rw-r--r-- | include/asm-s390/bug.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-s390/bug.h b/include/asm-s390/bug.h new file mode 100644 index 000000000000..2b8d6d4dffcf --- /dev/null +++ b/include/asm-s390/bug.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifndef _S390_BUG_H | ||
2 | #define _S390_BUG_H | ||
3 | |||
4 | #include <linux/kernel.h> | ||
5 | |||
6 | #define BUG() do { \ | ||
7 | printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ | ||
8 | __asm__ __volatile__(".long 0"); \ | ||
9 | } while (0) | ||
10 | |||
11 | #define HAVE_ARCH_BUG | ||
12 | #include <asm-generic/bug.h> | ||
13 | |||
14 | #endif | ||