summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/visws.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-07-02 22:50:29 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-09 11:45:03 +0200
commit8dd779b19ce5972072ad2372a86c8acbae4da768 (patch)
tree4f594473f7aa2f10a5af4d724a8ac06ca96925cf /arch/x86/pci/visws.c
parentx86/pci: visws: renaming pcibios_init() (diff)
downloadlinux-8dd779b19ce5972072ad2372a86c8acbae4da768.tar.xz
linux-8dd779b19ce5972072ad2372a86c8acbae4da768.zip
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>
Diffstat (limited to 'arch/x86/pci/visws.c')
-rw-r--r--arch/x86/pci/visws.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/pci/visws.c b/arch/x86/pci/visws.c
index c3dc9f26812c..16e52063ecb3 100644
--- a/arch/x86/pci/visws.c
+++ b/arch/x86/pci/visws.c
@@ -105,4 +105,9 @@ static int __init pci_visws_init(void)
return 0;
}
-subsys_initcall(pci_visws_init);
+static __init int pci_subsys_init(void)
+{
+ pci_visws_init();
+ pcibios_init();
+}
+subsys_initcall(pci_subsys_init);