fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-frv / bug.h
index 011860b..6b1b44d 100644 (file)
@@ -11,8 +11,9 @@
 #ifndef _ASM_BUG_H
 #define _ASM_BUG_H
 
-#include <linux/config.h>
+#include <linux/linkage.h>
 
+#ifdef CONFIG_BUG
 /*
  * Tell the user there is some problem.
  */
@@ -45,6 +46,7 @@ do {                                          \
 #define HAVE_ARCH_KGDB_BAD_PAGE
 #define kgdb_bad_page(page) do { kgdb_raise(SIGABRT); } while(0)
 #endif
+#endif
 
 #include <asm-generic/bug.h>