patch-2.3.7 linux/include/asm-sparc/page.h
Next file: linux/include/asm-sparc/spinlock.h
Previous file: linux/include/asm-sparc/namei.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Jun 17 01:08:50 1999
- Orig file:
v2.3.6/linux/include/asm-sparc/page.h
- Orig date:
Wed Mar 10 16:53:37 1999
diff -u --recursive --new-file v2.3.6/linux/include/asm-sparc/page.h linux/include/asm-sparc/page.h
@@ -28,6 +28,10 @@
#ifndef __ASSEMBLY__
+#define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); *(int *)0=0; } while (0)
+#define PAGE_BUG(page) do { \
+ BUG(); } while (0)
+
#define clear_page(page) memset((void *)(page), 0, PAGE_SIZE)
#define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)