[PATCH] remove all kernel BUGs
[linux-2.6/zen-sources.git] / include / asm-arm26 / bug.h
blob7177c7399967028cb891fdd7b8382fe810eadbde
1 #ifndef _ASMARM_BUG_H
2 #define _ASMARM_BUG_H
4 #include <linux/config.h>
6 #ifdef CONFIG_BUG
7 #ifdef CONFIG_DEBUG_BUGVERBOSE
8 extern volatile void __bug(const char *file, int line, void *data);
9 /* give file/line information */
10 #define BUG() __bug(__FILE__, __LINE__, NULL)
11 #else
12 #define BUG() (*(int *)0 = 0)
13 #endif
15 #define HAVE_ARCH_BUG
16 #endif
18 #include <asm-generic/bug.h>
20 #endif