|
|
| File: [Development] / linux-2.6-xfs / include / asm-arm / Attic / bug.h (download)
Revision 1.5, Mon May 29 16:35:25 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Merge up to 2.6.17-rc5. Merge of 2.6.x-xfs-melb:linux:26065a by kenmcd. |
#ifndef _ASMARM_BUG_H #define _ASMARM_BUG_H #include <linux/config.h> #include <linux/stddef.h> #ifdef CONFIG_BUG #ifdef CONFIG_DEBUG_BUGVERBOSE extern void __bug(const char *file, int line, void *data) __attribute__((noreturn)); /* give file/line information */ #define BUG() __bug(__FILE__, __LINE__, NULL) #else /* this just causes an oops */ #define BUG() (*(int *)0 = 0) #endif #define HAVE_ARCH_BUG #endif #include <asm-generic/bug.h> #endif