memblock: replace free_bootmem{_node} with memblock_free
[linux-2.6-block.git] / arch / sparc / kernel / smp_64.c
index 337febdf94b8a605caa43fd3133d11bcfae979a5..a087a6a25f06e1aec1c50991b8f9b31b3c8fe82e 100644 (file)
@@ -1607,7 +1607,7 @@ static void * __init pcpu_alloc_bootmem(unsigned int cpu, size_t size,
 
 static void __init pcpu_free_bootmem(void *ptr, size_t size)
 {
-       free_bootmem(__pa(ptr), size);
+       memblock_free(__pa(ptr), size);
 }
 
 static int __init pcpu_cpu_distance(unsigned int from, unsigned int to)