Re: [RFC PATCH v2, part 2 11/18] PCI, x86: use hotplug-safe iteratorsto walk PCI buses

From: Yinghai Lu
Date: Tue May 14 2013 - 14:59:27 EST


On Tue, May 14, 2013 at 9:51 AM, Jiang Liu <liuj97@xxxxxxxxx> wrote:
> Enhance x86 architecture specific code to use hotplug-safe iterators
> to walk PCI buses.
>
> In other words, replace pci_find_bus(), pci_find_next_bus() and
> pci_root_buses with pci_bus_exists(), pci_get_bus(), pci_get_next_bus()
> and pci_get_next_root_bus() etc.
>
> Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Cc: x86@xxxxxxxxxx
> Cc: Myron Stowe <myron.stowe@xxxxxxxxxx>
> Cc: Yijing Wang <wangyijing@xxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Matthew Garrett <mjg@xxxxxxxxxx>
> Cc: Yinghai Lu <yinghai@xxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> ---
> arch/x86/pci/acpi.c | 3 ++-
> arch/x86/pci/common.c | 3 ++-
> arch/x86/pci/i386.c | 9 ++++-----
> arch/x86/pci/irq.c | 2 +-
> arch/x86/pci/legacy.c | 2 +-
> 5 files changed, 10 insertions(+), 9 deletions(-)

Acked-by: Yinghai Lu <yinghai@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/