patch-2.4.22 linux-2.4.22/include/linux/vmalloc.h

Next file: linux-2.4.22/include/linux/wait.h
Previous file: linux-2.4.22/include/linux/sysctl.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/linux/vmalloc.h linux-2.4.22/include/linux/vmalloc.h
@@ -21,6 +21,9 @@
 
 extern struct vm_struct * get_vm_area (unsigned long size, unsigned long flags);
 extern void vfree(void * addr);
+#define vunmap(addr)	vfree(addr)
+extern void * vmap(struct page **pages, int count,
+		   unsigned long flags, pgprot_t prot);
 extern void * __vmalloc (unsigned long size, int gfp_mask, pgprot_t prot);
 extern long vread(char *buf, char *addr, unsigned long count);
 extern void vmfree_area_pages(unsigned long address, unsigned long size);

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