X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Fbug.h;h=7b62351f097d2f49ff6fcfb7ea0e0c43e11d012f;hb=refs%2Fheads%2Fvserver;hp=24d11672eb601979d2ca64e3adf60dc923dfe22a;hpb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;p=linux-2.6.git diff --git a/include/asm-arm/bug.h b/include/asm-arm/bug.h index 24d11672e..7b62351f0 100644 --- a/include/asm-arm/bug.h +++ b/include/asm-arm/bug.h @@ -1,14 +1,13 @@ #ifndef _ASMARM_BUG_H #define _ASMARM_BUG_H -#include #ifdef CONFIG_BUG #ifdef CONFIG_DEBUG_BUGVERBOSE -extern volatile void __bug(const char *file, int line, void *data); +extern void __bug(const char *file, int line) __attribute__((noreturn)); /* give file/line information */ -#define BUG() __bug(__FILE__, __LINE__, NULL) +#define BUG() __bug(__FILE__, __LINE__) #else