patch-2.1.101 linux/include/asm-arm/page.h

Next file: linux/include/asm-arm/posix_types.h
Previous file: linux/include/asm-arm/namei.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/include/asm-arm/page.h linux/include/asm-arm/page.h
@@ -6,6 +6,8 @@
 
 #ifdef __KERNEL__
 
+#define get_user_page(vaddr)		__get_free_page(GFP_KERNEL)
+#define free_user_page(page, addr)	free_page(addr)
 #define clear_page(page)	memzero((void *)(page), 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, slshen@lbl.gov