X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Fbug.h;h=0e36fd5d87df2f3d1771a9f34581cf82e17dfc2b;hb=5632b6ccf74cda3d26351dc12759c6e156613ee7;hp=5e91b90a8181cb8a9b7e858757792d14d3a22896;hpb=1a69f36a78895dad9a6b97ffa2d6d2b7c3975b5d;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