X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Fbug.h;h=0e36fd5d87df2f3d1771a9f34581cf82e17dfc2b;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=5e91b90a8181cb8a9b7e858757792d14d3a22896;hpb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;p=linux-2.6.git diff --git a/include/asm-arm/bug.h b/include/asm-arm/bug.h index 5e91b90a8..0e36fd5d8 100644 --- a/include/asm-arm/bug.h +++ b/include/asm-arm/bug.h @@ -1,10 +1,10 @@ #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, void *data) __attribute__((noreturn)); /* give file/line information */ #define BUG() __bug(__FILE__, __LINE__, NULL) @@ -17,6 +17,8 @@ extern volatile void __bug(const char *file, int line, void *data); #endif #define HAVE_ARCH_BUG +#endif + #include #endif