[PATCH] pi-futex: introduce WARN_ON_SMP
[linux-2.6] / include / asm-s390 / bug.h
1 #ifndef _S390_BUG_H
2 #define _S390_BUG_H
3
4 #include <linux/kernel.h>
5
6 #ifdef CONFIG_BUG
7
8 #define BUG() do { \
9         printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
10         __builtin_trap(); \
11 } while (0)
12
13 #define HAVE_ARCH_BUG
14 #endif
15
16 #include <asm-generic/bug.h>
17
18 #endif