summaryrefslogtreecommitdiff
path: root/include/asm-ppc/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/bug.h')
-rw-r--r--include/asm-ppc/bug.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/asm-ppc/bug.h b/include/asm-ppc/bug.h
index 6b2579d9d4ee..e99c6cb9d618 100644
--- a/include/asm-ppc/bug.h
+++ b/include/asm-ppc/bug.h
@@ -35,8 +35,6 @@ struct bug_entry {
} \
} while (0)
-#define PAGE_BUG(page) BUG()
-
#define WARN_ON(x) do { \
if (!__builtin_constant_p(x) || (x)) { \
__asm__ __volatile__( \
@@ -49,4 +47,9 @@ struct bug_entry {
} \
} while (0)
+#define HAVE_ARCH_BUG
+#define HAVE_ARCH_BUG_ON
+#define HAVE_ARCH_WARN_ON
+#include <asm-generic/bug.h>
+
#endif