]> err.no Git - linux-2.6/blobdiff - include/asm-sh/bug.h
[PATCH] fix send_sigqueue() vs thread exit race
[linux-2.6] / include / asm-sh / bug.h
index 70172217140f4cdf6c81e913bf10bf4a8a9d33f0..70508a360cd669b84ade8a09ab29f570d6dcf8de 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <linux/config.h>
 
+#ifdef CONFIG_BUG
 /*
  * Tell the user there is some problem.
  */
@@ -12,6 +13,8 @@
 } while (0)
 
 #define HAVE_ARCH_BUG
+#endif
+
 #include <asm-generic/bug.h>
 
 #endif