ia64/linux-2.6.18-xen.hg

view include/asm-arm/bug.h @ 782:9ab1c319531f

merge with linux-2.6.18-xen.hg
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Jan 28 13:07:23 2009 +0900 (2009-01-28)
parents 831230e53067
children
line source
1 #ifndef _ASMARM_BUG_H
2 #define _ASMARM_BUG_H
5 #ifdef CONFIG_BUG
6 #ifdef CONFIG_DEBUG_BUGVERBOSE
7 extern void __bug(const char *file, int line, void *data) __attribute__((noreturn));
9 /* give file/line information */
10 #define BUG() __bug(__FILE__, __LINE__, NULL)
12 #else
14 /* this just causes an oops */
15 #define BUG() (*(int *)0 = 0)
17 #endif
19 #define HAVE_ARCH_BUG
20 #endif
22 #include <asm-generic/bug.h>
24 #endif