Messages in this thread | | | Date | Tue, 14 May 2013 11:59:20 -0700 | Subject | Re: [RFC PATCH v2, part 2 11/18] PCI, x86: use hotplug-safe iterators to walk PCI buses | From | Yinghai Lu <> |
| |
On Tue, May 14, 2013 at 9:51 AM, Jiang Liu <liuj97@gmail.com> 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@huawei.com> > Cc: Thomas Gleixner <tglx@linutronix.de> > Cc: Ingo Molnar <mingo@redhat.com> > Cc: "H. Peter Anvin" <hpa@zytor.com> > Cc: x86@kernel.org > Cc: Myron Stowe <myron.stowe@redhat.com> > Cc: Yijing Wang <wangyijing@huawei.com> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: Matthew Garrett <mjg@redhat.com> > Cc: Yinghai Lu <yinghai@kernel.org> > Cc: linux-kernel@vger.kernel.org > --- > 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@kernel.org>
| |