Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _S390_BUG_H |
2 | #define _S390_BUG_H | |
3 | ||
4 | #include <linux/kernel.h> | |
5 | ||
c8538a7a | 6 | #ifdef CONFIG_BUG |
1da177e4 LT |
7 | #define BUG() do { \ |
8 | printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ | |
9 | __asm__ __volatile__(".long 0"); \ | |
10 | } while (0) | |
11 | ||
12 | #define HAVE_ARCH_BUG | |
c8538a7a MM |
13 | #endif |
14 | ||
1da177e4 LT |
15 | #include <asm-generic/bug.h> |
16 | ||
17 | #endif |