memblock: drop memblock_alloc_base()
[linux-2.6-microblaze.git] / drivers / macintosh / smu.c
index 0a0b8e1..42cf68d 100644 (file)
@@ -485,7 +485,7 @@ int __init smu_init (void)
         * SMU based G5s need some memory below 2Gb. Thankfully this is
         * called at a time where memblock is still available.
         */
-       smu_cmdbuf_abs = memblock_alloc_base(4096, 4096, 0x80000000UL);
+       smu_cmdbuf_abs = memblock_phys_alloc_range(4096, 4096, 0, 0x80000000UL);
        if (smu_cmdbuf_abs == 0) {
                printk(KERN_ERR "SMU: Command buffer allocation failed !\n");
                ret = -EINVAL;