memblock: replace free_bootmem_late with memblock_free_late
[linux-2.6-block.git] / arch / sparc / kernel / mdesc.c
index 59131e72ee789ea852339d80f057061743996b96..a41526bd91e23751db6fb024be3f9e4c29c1a0d4 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/mm.h>
 #include <linux/miscdevice.h>
 #include <linux/bootmem.h>
+#include <linux/memblock.h>
 #include <linux/export.h>
 #include <linux/refcount.h>
 
@@ -190,7 +191,7 @@ static void __init mdesc_memblock_free(struct mdesc_handle *hp)
 
        alloc_size = PAGE_ALIGN(hp->handle_size);
        start = __pa(hp);
-       free_bootmem_late(start, alloc_size);
+       memblock_free_late(start, alloc_size);
 }
 
 static struct mdesc_mem_ops memblock_mdesc_ops = {