summaryrefslogtreecommitdiff
path: root/include/asm-frv/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/bug.h')
-rw-r--r--include/asm-frv/bug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-frv/bug.h b/include/asm-frv/bug.h
index 011860b28818..074c0d5770eb 100644
--- a/include/asm-frv/bug.h
+++ b/include/asm-frv/bug.h
@@ -13,6 +13,7 @@
#include <linux/config.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>