summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/page.h')
-rw-r--r--include/asm-alpha/page.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/asm-alpha/page.h b/include/asm-alpha/page.h
index 816219ce9..8011c5859 100644
--- a/include/asm-alpha/page.h
+++ b/include/asm-alpha/page.h
@@ -106,13 +106,8 @@ typedef unsigned long pgprot_t;
#endif /* STRICT_MM_TYPECHECKS */
-#define BUG() \
-do { \
- printk("Kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
- __asm__ __volatile__("call_pal 129 # bugchk"); \
-} while (1)
-
-#define PAGE_BUG(page) BUG()
+#define BUG() __asm__ __volatile__("call_pal 129 # bugchk")
+#define PAGE_BUG(page) BUG()
#endif /* !ASSEMBLY */