patch-2.2.4 linux/include/asm-ppc/page.h

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

diff -u --recursive --new-file v2.2.3/linux/include/asm-ppc/page.h linux/include/asm-ppc/page.h
@@ -63,9 +63,9 @@
 /* to align the pointer to the (next) page boundary */
 #define PAGE_ALIGN(addr)	(((addr)+PAGE_SIZE-1)&PAGE_MASK)
 
-
-#define clear_page(page)        memset((void *)(page), 0, PAGE_SIZE)
+extern void clear_page(unsigned long page);
 #define copy_page(to,from)	memcpy((void *)(to), (void *)(from), PAGE_SIZE)
+
 /* map phys->virtual and virtual->phys for RAM pages */
 #ifdef CONFIG_APUS
 #include <asm/amigappc.h>

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