powerpc: Wire up /proc/vmallocinfo to our ioremap()
[deliverable/linux.git] / arch / powerpc / platforms / cell / io-workarounds.c
index b5f84e8f089990756daa13ca1101a9ccc4db74d6..5c1118e31940bf39d3a88926a16fc883c4f30d5f 100644 (file)
@@ -130,14 +130,14 @@ static const struct ppc_pci_io __devinitconst iowa_pci_io = {
 
 };
 
-static void __iomem *iowa_ioremap(unsigned long addr, unsigned long size,
-                                               unsigned long flags)
+static void __iomem *iowa_ioremap(phys_addr_t addr, unsigned long size,
+                                 unsigned long flags, void *caller)
 {
        struct iowa_bus *bus;
-       void __iomem *res = __ioremap(addr, size, flags);
+       void __iomem *res = __ioremap_caller(addr, size, flags, caller);
        int busno;
 
-       bus = iowa_pci_find(0, addr);
+       bus = iowa_pci_find(0, (unsigned long)addr);
        if (bus != NULL) {
                busno = bus - iowa_busses;
                PCI_SET_ADDR_TOKEN(res, busno + 1);
This page took 0.035313 seconds and 5 git commands to generate.