summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/iomap.c
diff options
context:
space:
mode:
authorValentine Barshak <vbarshak@ru.mvista.com>2007-09-06 03:30:16 +1000
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-09-20 07:36:52 -0500
commit472b5b43bec45e7e79f86094ca9091bd9eb474ed (patch)
treed1aa495e5d3154ce359a1ddc1024f9d6cef636bd /arch/powerpc/kernel/iomap.c
parent9a474fff4f6a5fc14ac493c48f56a14e65912cc7 (diff)
downloadtalos-op-linux-472b5b43bec45e7e79f86094ca9091bd9eb474ed.tar.gz
talos-op-linux-472b5b43bec45e7e79f86094ca9091bd9eb474ed.zip
[POWERPC] Add 64-bit resources support to pci_iomap
The patch adds support for the 64-bit resources to the PCI iomap code. Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/kernel/iomap.c')
-rw-r--r--arch/powerpc/kernel/iomap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/iomap.c b/arch/powerpc/kernel/iomap.c
index 2a5cf8680370..1577434f4088 100644
--- a/arch/powerpc/kernel/iomap.c
+++ b/arch/powerpc/kernel/iomap.c
@@ -119,8 +119,8 @@ EXPORT_SYMBOL(ioport_unmap);
void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max)
{
- unsigned long start = pci_resource_start(dev, bar);
- unsigned long len = pci_resource_len(dev, bar);
+ resource_size_t start = pci_resource_start(dev, bar);
+ resource_size_t len = pci_resource_len(dev, bar);
unsigned long flags = pci_resource_flags(dev, bar);
if (!len)
OpenPOWER on IntegriCloud