patch-2.4.22 linux-2.4.22/include/asm-sparc64/page.h

Next file: linux-2.4.22/include/asm-sparc64/processor.h
Previous file: linux-2.4.22/include/asm-sparc64/kmap_types.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-sparc64/page.h linux-2.4.22/include/asm-sparc64/page.h
@@ -36,6 +36,7 @@
 extern void _clear_page(void *page);
 #define clear_page(X)	_clear_page((void *)(X))
 extern void clear_user_page(void *page, unsigned long vaddr);
+#define copy_page(X,Y)	__memcpy((void *)(X), (void *)(Y), PAGE_SIZE)
 extern void copy_user_page(void *to, void *from, unsigned long vaddr);
 
 /* GROSS, defining this makes gcc pass these types as aggregates,

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