patch-2.3.29 linux/include/linux/vmalloc.h
Next file: linux/include/linux/wanrouter.h
Previous file: linux/include/linux/videodev.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Tue Nov 23 12:55:56 1999
- Orig file:
v2.3.28/linux/include/linux/vmalloc.h
- Orig date:
Thu Nov 11 20:11:54 1999
diff -u --recursive --new-file v2.3.28/linux/include/linux/vmalloc.h linux/include/linux/vmalloc.h
@@ -6,6 +6,10 @@
#include <asm/pgtable.h>
+/* bits in vm_struct->flags */
+#define VM_IOREMAP 0x00000001 /* ioremap() and friends */
+#define VM_ALLOC 0x00000002 /* vmalloc() */
+
struct vm_struct {
unsigned long flags;
void * addr;
@@ -13,7 +17,7 @@
struct vm_struct * next;
};
-struct vm_struct * get_vm_area(unsigned long size);
+struct vm_struct * get_vm_area(unsigned long size, unsigned long flags);
void vfree(void * addr);
void * vmalloc(unsigned long size);
long vread(char *buf, char *addr, unsigned long count);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)