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
bte_error.c [IA64] Fix Altix BTE error return status 2007-12-19 11:19:19 -08:00
bte.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
huberror.c [IA64] genirq fixup for SGI/SN 2012-02-22 11:11:06 -08:00
idle.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [IA64] Move include/asm-ia64 to arch/ia64/include/asm 2008-08-01 10:21:21 -07:00
irq.c [IA64] genirq fixup for SGI/SN 2012-02-22 11:11:06 -08:00
klconflib.c [IA64-SGI] sn2 housekeeping 2006-02-02 13:35:59 -08:00
machvec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile ia64: change to new flag variables 2011-03-17 14:02:56 +01:00
mca.c [IA64] remove remaining __FUNCTION__ occurrences 2008-03-06 09:19:27 -08:00
msi_sn.c ia64: Convert to the new irq_* function names 2011-03-29 14:48:05 +02:00
pio_phys.S [IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly 2006-02-07 09:24:14 -08:00
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