patch-2.3.13 linux/include/asm-m68k/page.h

Next file: linux/include/asm-m68k/pgtable.h
Previous file: linux/include/asm-m68k/mmu_context.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/include/asm-m68k/page.h linux/include/asm-m68k/page.h
@@ -130,6 +130,15 @@
 }
 #define MAP_NR(addr)		(__pa(addr) >> PAGE_SHIFT)
 
+#define BUG() do { \
+	printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
+	asm volatile("illegal"); \
+} while (0)
+
+#define PAGE_BUG(page) do { \
+	BUG(); \
+} while (0)
+
 #endif /* __KERNEL__ */
 
 #endif /* _M68K_PAGE_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)