Merge tag 'parisc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6

PARISC fixes from James Bottomley:
"This is a set of build fixes to get the cross compiled architecture
testbeds building again"

* tag 'parisc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6:
[PARISC] don't unconditionally override CROSS_COMPILE for 64 bit.
[PARISC] include <linux/prefetch.h> in drivers/parisc/iommu-helpers.h
[PARISC] fix compile break caused by iomap: make IOPORT/PCI mapping functions conditional

+8 -2
+4
arch/parisc/Makefile
··· 31 UTS_MACHINE := parisc64 32 CHECKFLAGS += -D__LP64__=1 -m64 33 WIDTH := 64 34 CROSS_COMPILE := hppa64-linux-gnu- 35 else # 32-bit 36 WIDTH := 37 endif
··· 31 UTS_MACHINE := parisc64 32 CHECKFLAGS += -D__LP64__=1 -m64 33 WIDTH := 64 34 + 35 + # FIXME: if no default set, should really try to locate dynamically 36 + ifeq ($(CROSS_COMPILE),) 37 CROSS_COMPILE := hppa64-linux-gnu- 38 + endif 39 else # 32-bit 40 WIDTH := 41 endif
+2
drivers/parisc/iommu-helpers.h
··· 1 /** 2 * iommu_fill_pdir - Insert coalesced scatter/gather chunks into the I/O Pdir. 3 * @ioc: The I/O Controller.
··· 1 + #include <linux/prefetch.h> 2 + 3 /** 4 * iommu_fill_pdir - Insert coalesced scatter/gather chunks into the I/O Pdir. 5 * @ioc: The I/O Controller.
+1 -1
include/asm-generic/iomap.h
··· 70 /* Destroy a virtual mapping cookie for a PCI BAR (memory or IO) */ 71 struct pci_dev; 72 extern void pci_iounmap(struct pci_dev *dev, void __iomem *); 73 - #else 74 struct pci_dev; 75 static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr) 76 { }
··· 70 /* Destroy a virtual mapping cookie for a PCI BAR (memory or IO) */ 71 struct pci_dev; 72 extern void pci_iounmap(struct pci_dev *dev, void __iomem *); 73 + #elif defined(CONFIG_GENERIC_IOMAP) 74 struct pci_dev; 75 static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr) 76 { }
+1 -1
include/asm-generic/pci_iomap.h
··· 25 #define __pci_ioport_map(dev, port, nr) ioport_map((port), (nr)) 26 #endif 27 28 - #else 29 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) 30 { 31 return NULL;
··· 25 #define __pci_ioport_map(dev, port, nr) ioport_map((port), (nr)) 26 #endif 27 28 + #elif defined(CONFIG_GENERIC_PCI_IOMAP) 29 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) 30 { 31 return NULL;