patch-2.1.4 linux/include/asm-i386/page.h
Next file: linux/include/asm-i386/posix_types.h
Previous file: linux/include/asm-i386/math_emu.h
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Tue Oct 15 09:14:53 1996
-  Orig file: 
v2.1.3/linux/include/asm-i386/page.h
-  Orig date: 
Mon Sep 23 09:17:09 1996
diff -u --recursive --new-file v2.1.3/linux/include/asm-i386/page.h linux/include/asm-i386/page.h
@@ -10,6 +10,9 @@
 
 #define STRICT_MM_TYPECHECKS
 
+#define clear_page(page)	memset((void *)(page), 0, PAGE_SIZE)
+#define copy_page(to,from)	memcpy((void *)(to), (void *)(from), PAGE_SIZE)
+
 #ifdef STRICT_MM_TYPECHECKS
 /*
  * These are used to make use of C type-checking..
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov