[PATCH] PCI: make it easier to see that set_msi_affinity() is used
[linux-2.6.22.y-op.git] / include / asm-arm / bug.h
blob7fb02138f585985dd810407a82a8643bb3874d9f
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 void __bug(const char *file, int line, void *data) __attribute__((noreturn));
10 /* give file/line information */
11 #define BUG() __bug(__FILE__, __LINE__, NULL)
13 #else
15 /* this just causes an oops */
16 #define BUG() (*(int *)0 = 0)
18 #endif
20 #define HAVE_ARCH_BUG
21 #endif
23 #include <asm-generic/bug.h>
25 #endif