patch-2.3.8 linux/include/asm-alpha/page.h
Next file: linux/include/asm-alpha/processor.h
Previous file: linux/include/asm-alpha/mmu_context.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Jun 22 10:46:52 1999
- Orig file:
v2.3.7/linux/include/asm-alpha/page.h
- Orig date:
Sun Sep 6 10:34:33 1998
diff -u --recursive --new-file v2.3.7/linux/include/asm-alpha/page.h linux/include/asm-alpha/page.h
@@ -105,6 +105,15 @@
#define __pgprot(x) (x)
#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()
+
#endif /* !ASSEMBLY */
/* to align the pointer to the (next) page boundary */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)