]>
Commit | Line | Data |
---|---|---|
a6475c13 MS |
1 | /* |
2 | * ppc64 "iomap" interface implementation. | |
3 | * | |
4 | * (C) Copyright 2004 Linus Torvalds | |
5 | */ | |
6 | #include <linux/init.h> | |
7 | #include <linux/pci.h> | |
8 | #include <linux/mm.h> | |
66421a64 | 9 | #include <linux/export.h> |
6bd55f0b | 10 | #include <linux/io.h> |
a6475c13 MS |
11 | #include <asm/pci-bridge.h> |
12 | ||
a6475c13 MS |
13 | void pci_iounmap(struct pci_dev *dev, void __iomem *addr) |
14 | { | |
15 | if (isa_vaddr_is_ioport(addr)) | |
16 | return; | |
17 | if (pcibios_vaddr_is_ioport(addr)) | |
18 | return; | |
19 | iounmap(addr); | |
20 | } | |
21 | EXPORT_SYMBOL(pci_iounmap); |