diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-12-01 05:41:36 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-12-04 09:00:17 -0500 |
commit | 34f1bdee1910f7efe3c32e1a891dba4fd21cb3b6 (patch) | |
tree | ff3b52d4ab12ae907117d8d1064fab94acbc11e3 /arch/mn10300/include/asm | |
parent | 2ebf5d0d79087005e1042df2cd0f7594782746d8 (diff) |
mn10300: switch to GENERIC_PCI_IOMAP
The pci_iomap variant that arch/mn10300/unit-asb2305/pci-iomap.c
uses differs from the generic one in that it does
not use ioremap_nocache for PCI addresses.
However, it turns out that PCI addresses are
automatically noncached, so switching to ioremap_nocache
and to the generic implementation is safe.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/mn10300/include/asm')
-rw-r--r-- | arch/mn10300/include/asm/io.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/io.h b/arch/mn10300/include/asm/io.h index 0d6d54f09f17..139df8c53de8 100644 --- a/arch/mn10300/include/asm/io.h +++ b/arch/mn10300/include/asm/io.h | |||
@@ -229,7 +229,6 @@ static inline void outsl(unsigned long addr, const void *buffer, int count) | |||
229 | 229 | ||
230 | /* Create a virtual mapping cookie for a PCI BAR (memory or IO) */ | 230 | /* Create a virtual mapping cookie for a PCI BAR (memory or IO) */ |
231 | struct pci_dev; | 231 | struct pci_dev; |
232 | extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max); | ||
233 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | 232 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) |
234 | { | 233 | { |
235 | } | 234 | } |