]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-alpha/bug.h
[PATCH] remove all kernel BUGs
[linux-2.6-omap-h63xx.git] / include / asm-alpha / bug.h
index ae1e0a5fa492c9ff8bc8769c8637da392eb2a417..39a3e2a5017dba4dcd89e094a48ccbb94e065294 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _ALPHA_BUG_H
 #define _ALPHA_BUG_H
 
+#ifdef CONFIG_BUG
 #include <asm/pal.h>
 
 /* ??? Would be nice to use .gprel32 here, but we can't be sure that the
@@ -10,6 +11,8 @@
                       : : "i" (PAL_bugchk), "i"(__LINE__), "i"(__FILE__))
 
 #define HAVE_ARCH_BUG
+#endif
+
 #include <asm-generic/bug.h>
 
 #endif