]> err.no Git - linux-2.6/commit
x86/pci: removing subsys_initcall ordering dependencies
authorRobert Richter <robert.richter@amd.com>
Wed, 2 Jul 2008 20:50:29 +0000 (22:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 09:45:03 +0000 (11:45 +0200)
commit8dd779b19ce5972072ad2372a86c8acbae4da768
tree4f594473f7aa2f10a5af4d724a8ac06ca96925cf
parentae28d70529b874f657afd0f70ca148599345ba2a
x86/pci: removing subsys_initcall ordering dependencies

So far subsys_initcalls has been executed in this order depending on
the object order in the Makefile:

arch/x86/pci/visws.c:subsys_initcall(pcibios_init);
arch/x86/pci/numa.c:subsys_initcall(pci_numa_init);
arch/x86/pci/acpi.c:subsys_initcall(pci_acpi_init);
arch/x86/pci/legacy.c:subsys_initcall(pci_legacy_init);
arch/x86/pci/irq.c:subsys_initcall(pcibios_irq_init);
arch/x86/pci/common.c:subsys_initcall(pcibios_init);

This patch removes the ordering dependency. There is now only one
subsys_initcall function that contains subsystem initialization code
with a defined order.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/pci/Makefile
arch/x86/pci/acpi.c
arch/x86/pci/common.c
arch/x86/pci/init.c
arch/x86/pci/irq.c
arch/x86/pci/legacy.c
arch/x86/pci/numa.c
arch/x86/pci/pci.h
arch/x86/pci/visws.c