]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/pci: Fix unmapping of IO space on 64-bit
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 27 Oct 2008 19:48:47 +0000 (19:48 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 31 Oct 2008 05:13:46 +0000 (16:13 +1100)
commitb30115ea8f685bcd1769553fe8511745f985053c
tree3bc3bbeeeaf9efbf117c87d8cda846f3206e0e46
parente90a13184600ec756875238ad130e2f205cd9a1b
powerpc/pci: Fix unmapping of IO space on 64-bit

A typo/thinko made us pass the wrong argument to __flush_hash_table_range
when unplugging bridges, thus not flushing all the translations for
the IO space on unplug.  The third parameter to __flush_hash_table_range
is `end', not `size'.

This causes the hypervisor to refuse unplugging slots.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_64.c