summaryrefslogtreecommitdiffstats
path: root/include/asm-cris
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2005-05-01 17:59:01 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 17:59:01 +0200
commitcd7619d6bf36564cf54ff7218ef54e558a741913 (patch)
treec11674169b6d8f0b498e7ebe8a85d624cca82502 /include/asm-cris
parent[PATCH] remove all kernel BUGs (diff)
downloadlinux-cd7619d6bf36564cf54ff7218ef54e558a741913.tar.xz
linux-cd7619d6bf36564cf54ff7218ef54e558a741913.zip
[PATCH] Exterminate PAGE_BUG
Remove PAGE_BUG - repalce it with BUG and BUG_ON. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-cris')
-rw-r--r--include/asm-cris/page.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-cris/page.h b/include/asm-cris/page.h
index ddd8915e41e6..c767da1ef8f5 100644
--- a/include/asm-cris/page.h
+++ b/include/asm-cris/page.h
@@ -77,10 +77,6 @@ typedef struct { unsigned long pgprot; } pgprot_t;
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
} while (0)
-#define PAGE_BUG(page) do { \
- BUG(); \
-} while (0)
-
/* Pure 2^n version of get_order */
static inline int get_order(unsigned long size)
{