diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-12-01 10:41:36 (GMT) |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-12-04 14:00:17 (GMT) |
commit | 34f1bdee1910f7efe3c32e1a891dba4fd21cb3b6 (patch) | |
tree | ff3b52d4ab12ae907117d8d1064fab94acbc11e3 /arch/mn10300/include/asm/io.h | |
parent | 2ebf5d0d79087005e1042df2cd0f7594782746d8 (diff) | |
download | linux-34f1bdee1910f7efe3c32e1a891dba4fd21cb3b6.tar.xz |
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/io.h')
-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 0d6d54f..139df8c 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) /* Create a virtual mapping cookie for a PCI BAR (memory or IO) */ struct pci_dev; -extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max); static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) { } |