]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commit50747cb8189d54369d75e1bd73f84db431d39af8
treee82c3c58743f1c6a545b7336656fcca2fed6f64a
parent6dfbde209171cd15407e7540d363a434a489aaca
[POWERPC] Make pci_iounmap actually unmap things

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>
arch/powerpc/kernel/iomap.c