PowerPC: Add 64-bit resources support to pci_iomap
PATCH 1/1 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 <[email protected]>
---
arch/powerpc/kernel/iomap.c +2 -2
@@ -119,8 +119,8 @@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)
Quoted 4 lines · Valentine Barshak
The patch adds support for the 64-bit resources to the PCI iomap code.
Signed-off-by Valentine Barshak <[email protected]>
Acked-by David Gibson <[email protected]>
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson