diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-11-24 14:10:12 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-12-04 08:59:49 -0500 |
commit | a21a2fd4036f9a572415a7543896a1163c211ee5 (patch) | |
tree | e668585f82aee3abb56b011c78cdb7a5f46099da /arch/sparc/include/asm/io_64.h | |
parent | 43db595e8b5d78ce5ad2feab719814a76e3ad2e5 (diff) |
sparc: switch to GENERIC_PCI_IOMAP
sparc copied pci_iomap from generic code, probably to avoid
pulling the rest of iomap.c in. Since that's in
a separate file now, we can reuse the common implementation.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/sparc/include/asm/io_64.h')
-rw-r--r-- | arch/sparc/include/asm/io_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/io_64.h b/arch/sparc/include/asm/io_64.h index 9c8965415f0a..9481e5a6fa90 100644 --- a/arch/sparc/include/asm/io_64.h +++ b/arch/sparc/include/asm/io_64.h | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <asm/page.h> /* IO address mapping routines need this */ | 8 | #include <asm/page.h> /* IO address mapping routines need this */ |
9 | #include <asm/system.h> | 9 | #include <asm/system.h> |
10 | #include <asm/asi.h> | 10 | #include <asm/asi.h> |
11 | #include <asm-generic/pci_iomap.h> | ||
11 | 12 | ||
12 | /* PC crapola... */ | 13 | /* PC crapola... */ |
13 | #define __SLOW_DOWN_IO do { } while (0) | 14 | #define __SLOW_DOWN_IO do { } while (0) |
@@ -514,7 +515,6 @@ extern void ioport_unmap(void __iomem *); | |||
514 | 515 | ||
515 | /* Create a virtual mapping cookie for a PCI BAR (memory or IO) */ | 516 | /* Create a virtual mapping cookie for a PCI BAR (memory or IO) */ |
516 | struct pci_dev; | 517 | struct pci_dev; |
517 | extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max); | ||
518 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | 518 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); |
519 | 519 | ||
520 | static inline int sbus_can_dma_64bit(void) | 520 | static inline int sbus_can_dma_64bit(void) |