diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-06 15:03:44 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-08 06:25:16 +0100 |
commit | b36ac9e84b4a3602bd07c2b7cf995f88f76d8428 (patch) | |
tree | fe4cd384a8b3557ea788d583385294aea6f01cde /arch/powerpc/platforms/cell/io-workarounds.c | |
parent | powerpc/cell: Use correct types in beat files (diff) | |
download | linux-b36ac9e84b4a3602bd07c2b7cf995f88f76d8428.tar.xz linux-b36ac9e84b4a3602bd07c2b7cf995f88f76d8428.zip |
powerpc/cell: Fix some u64 vs. long types
in/out_be64() work on u64s.
The first parameter to ppc_md.ioremap is a phys_addr_t.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/io-workarounds.c')
-rw-r--r-- | arch/powerpc/platforms/cell/io-workarounds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/io-workarounds.c b/arch/powerpc/platforms/cell/io-workarounds.c index b5f84e8f0899..059cad6c3f69 100644 --- a/arch/powerpc/platforms/cell/io-workarounds.c +++ b/arch/powerpc/platforms/cell/io-workarounds.c @@ -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, +static void __iomem *iowa_ioremap(phys_addr_t addr, unsigned long size, unsigned long flags) { struct iowa_bus *bus; void __iomem *res = __ioremap(addr, size, flags); 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); |