Merge commit 'v2.6.28-rc2' into x86/pci-ioapic-boot-irq-quirks
[sfrench/cifs-2.6.git] / arch / alpha / boot / main.c
index 90ed55b662a85e32d91f1d8fb8dc5c0f9896232f..89f3be071ae5df5f947c7d7ee9fb888e93fa2912 100644 (file)
@@ -132,7 +132,7 @@ static inline long load(long dev, unsigned long addr, unsigned long count)
        if (result)
                srm_printk("Boot file specification (%s) not implemented\n",
                       bootfile);
-       return callback_read(dev, count, addr, boot_size/512 + 1);
+       return callback_read(dev, count, (void *)addr, boot_size/512 + 1);
 }
 
 /*