patch-2.2.19 linux/include/asm-s390/page.h

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

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/include/asm-s390/page.h linux/include/asm-s390/page.h
@@ -26,6 +26,11 @@
 #define clear_page(page)        memset((void *)(page), 0, PAGE_SIZE)
 #define copy_page(to,from)      memcpy((void *)(to), (void *)(from), PAGE_SIZE)
 
+#define BUG() do { \
+	printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
+	__asm__ __volatile__(".word 0x0000"); \
+} while (0)
+
 extern __inline__ int get_order(unsigned long size)
 {
         int order;
@@ -103,7 +108,6 @@
 #define __pa(x)                 ((unsigned long)(x)-PAGE_OFFSET)
 #define __va(x)                 ((void *)((unsigned long)(x)+PAGE_OFFSET))
 #define MAP_NR(addr)            (__pa(addr) >> PAGE_SHIFT)
-
 
 #endif                                 /* __KERNEL__                       */
 

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