memblock: replace BOOTMEM_ALLOC_* with MEMBLOCK variants
[linux-2.6-block.git] / mm / sparse-vmemmap.c
index 91c2c3d25827fe7b05b358553d556790481d506d..7408cabed61aad66eed41b725d4f181eeb55fedf 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/mm.h>
 #include <linux/mmzone.h>
 #include <linux/bootmem.h>
+#include <linux/memblock.h>
 #include <linux/memremap.h>
 #include <linux/highmem.h>
 #include <linux/slab.h>
@@ -43,7 +44,7 @@ static void * __ref __earlyonly_bootmem_alloc(int node,
                                unsigned long goal)
 {
        return memblock_alloc_try_nid_raw(size, align, goal,
-                                              BOOTMEM_ALLOC_ACCESSIBLE, node);
+                                              MEMBLOCK_ALLOC_ACCESSIBLE, node);
 }
 
 void * __meminit vmemmap_alloc_block(unsigned long size, int node)