summaryrefslogtreecommitdiff
path: root/include/asm-ppc/bug.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-23 00:22:41 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-23 00:22:41 -0700
commit359f482533ebf0c974eabbcc83df63b841998eb2 (patch)
treeae93a243d19f93db7e71acfffe902cd5c50d9136 /include/asm-ppc/bug.h
parent9c46b04a4e3ecec0e96a188c5e68c10c8dd769d3 (diff)
parentf6297acf85a1c6bfd02ad772e719b8827c9bbd33 (diff)
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux Manual merge of kernel/params.c clashes.
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