X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-sparc%2Fbug.h;h=04151208189f6b3b00e29a9ad5071537170810f4;hb=8766af935f3f018ec4fd420644360643838ec323;hp=0d30a67d87a37f14278b2a50b17fda1925591df4;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=powerpc.git diff --git a/include/asm-sparc/bug.h b/include/asm-sparc/bug.h index 0d30a67d87..0415120818 100644 --- a/include/asm-sparc/bug.h +++ b/include/asm-sparc/bug.h @@ -1,6 +1,7 @@ #ifndef _SPARC_BUG_H #define _SPARC_BUG_H +#ifdef CONFIG_BUG /* Only use the inline asm until a gcc release that can handle __builtin_trap * -rob 2003-06-25 * @@ -26,6 +27,8 @@ extern void do_BUG(const char *file, int line); #endif #define HAVE_ARCH_BUG +#endif + #include #endif