Staging: w35und: merge wbhal.c to wbusb.c
[deliverable/linux.git] / mm / vmalloc.c
index b7db93572797e1477c1648c454a909b29766e3ce..f8189a4b3e135e4c4158bb80082a49434fcb54af 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/rbtree.h>
 #include <linux/radix-tree.h>
 #include <linux/rcupdate.h>
-#include <linux/bootmem.h>
 #include <linux/pfn.h>
 #include <linux/kmemleak.h>
 
@@ -1033,7 +1032,7 @@ void __init vmalloc_init(void)
 
        /* Import existing vmlist entries. */
        for (tmp = vmlist; tmp; tmp = tmp->next) {
-               va = alloc_bootmem(sizeof(struct vmap_area));
+               va = kzalloc(sizeof(struct vmap_area), GFP_NOWAIT);
                va->flags = tmp->flags | VM_VM_AREA;
                va->va_start = (unsigned long)tmp->addr;
                va->va_end = va->va_start + tmp->size;
This page took 0.105365 seconds and 5 git commands to generate.