[POWERPC] pci_32.c: Switch to ref counting PCI API
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 23 Apr 2007 13:47:59 +0000 (14:47 +0100)
committerPaul Mackerras <paulus@samba.org>
Tue, 24 Apr 2007 12:12:20 +0000 (22:12 +1000)
commitab4627683a0e4430cb5acb1cd896f08ec5dad90c
tree18f8ecf77c03e64d2aca845ec30d398874570ad9
parent37f01d64d83705f82bb06eac8134acc8ef665565
[POWERPC] pci_32.c: Switch to ref counting PCI API

pci_find_slot isn't hot-plug safe.  Move this code to the pci hotplug
safe equivalent and hold a refcount properly while doing
make_one_node_map.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_32.c