The patch adds support for the 64-bit resources to the PCI iomap code. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> ---
--- linux-2.6.orig/arch/powerpc/kernel/iomap.c 2007-09-04 21:15:13.000000000 +0400 +++ linux-2.6.bld/arch/powerpc/kernel/iomap.c 2007-09-05 21:06:39.000000000 +0400 @@ -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) _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev