Merge tag 'iommu-fixes-v3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / arch / microblaze / pci / iomap.c
blobb07abbac03197963c43011ceea69d2ec4c834b1f
1 /*
2 * ppc64 "iomap" interface implementation.
4 * (C) Copyright 2004 Linus Torvalds
5 */
6 #include <linux/init.h>
7 #include <linux/pci.h>
8 #include <linux/mm.h>
9 #include <linux/export.h>
10 #include <asm/io.h>
11 #include <asm/pci-bridge.h>
13 void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
15 if (isa_vaddr_is_ioport(addr))
16 return;
17 if (pcibios_vaddr_is_ioport(addr))
18 return;
19 iounmap(addr);
21 EXPORT_SYMBOL(pci_iounmap);