linux/arch/ia64/sn/kernel
Jiang Liu ddec11b145 ia64/PCI: Use hotplug-safe pci_get_domain_bus_and_slot()
Following code has a race window between pci_find_bus() and pci_get_slot()
if PCI hotplug operation happens between them which removes the pci_bus.
So use PCI hotplug safe interface pci_get_domain_bus_and_slot() instead,
which also reduces code complexity.

    struct pci_bus *pci_bus = pci_find_bus(domain, busno);
    struct pci_dev *pci_dev = pci_get_slot(pci_bus, devfn);

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2012-09-12 14:10:33 -06:00
..
sn2 Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
Makefile
bte.c
bte_error.c
huberror.c [IA64] genirq fixup for SGI/SN 2012-02-22 11:11:06 -08:00
idle.c
io_acpi_init.c ia64: Add export.h to arch/ia64 specific files as required 2011-10-31 19:30:58 -04:00
io_common.c ia64/PCI: Use hotplug-safe pci_get_domain_bus_and_slot() 2012-09-12 14:10:33 -06:00
io_init.c ia64/PCI: get rid of device resource fixups 2012-02-23 20:19:02 -07:00
iomv.c
irq.c [IA64] genirq fixup for SGI/SN 2012-02-22 11:11:06 -08:00
klconflib.c
machvec.c
mca.c
msi_sn.c ia64: Convert to the new irq_* function names 2011-03-29 14:48:05 +02:00
pio_phys.S
setup.c Disintegrate asm/system.h for IA64 2012-03-28 18:30:02 +01:00
tiocx.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00