[POWERPC] Make pci_iounmap actually unmap things
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 26 Jul 2007 04:07:13 +0000 (14:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 26 Jul 2007 06:17:48 +0000 (16:17 +1000)
This patch uses the newly added functions for testing if an address is
an ISA or PCI IO port to properly unmap things in pci_iounmap that
aren't such ports.  Without that, drivers using the iomap API will never
actually unmap resources, which on IBM server machines will prevent
hot-unplug of the corresponding HW adapters.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found