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

Next file: linux/include/asm-mips/pci.h
Previous file: linux/include/asm-mips/offset.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/include/asm-mips/page.h linux/include/asm-mips/page.h
@@ -21,6 +21,8 @@
 
 #ifndef __LANGUAGE_ASSEMBLY__
 
+#define get_user_page(vaddr)		__get_free_page(GFP_KERNEL)
+#define free_user_page(page, addr)	free_page(addr)
 extern void (*clear_page)(unsigned long page);
 extern void (*copy_page)(unsigned long to, unsigned long from);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov