aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/pci.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-07-02 16:50:29 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-09 05:45:03 -0400
commit8dd779b19ce5972072ad2372a86c8acbae4da768 (patch)
tree4f594473f7aa2f10a5af4d724a8ac06ca96925cf /arch/x86/pci/pci.h
parentae28d70529b874f657afd0f70ca148599345ba2a (diff)
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/pci.h')
-rw-r--r--arch/x86/pci/pci.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/x86/pci/pci.h b/arch/x86/pci/pci.h
index ba263e626a68..58241748470f 100644
--- a/arch/x86/pci/pci.h
+++ b/arch/x86/pci/pci.h
@@ -39,9 +39,6 @@ enum pci_bf_sort_state {
39 pci_dmi_bf, 39 pci_dmi_bf,
40}; 40};
41 41
42extern void __init dmi_check_pciprobe(void);
43extern void __init dmi_check_skip_isa_align(void);
44
45/* pci-i386.c */ 42/* pci-i386.c */
46 43
47extern unsigned int pcibios_max_latency; 44extern unsigned int pcibios_max_latency;
@@ -99,10 +96,18 @@ extern struct pci_raw_ops *raw_pci_ext_ops;
99 96
100extern struct pci_raw_ops pci_direct_conf1; 97extern struct pci_raw_ops pci_direct_conf1;
101 98
99/* arch_initcall level */
102extern int pci_direct_probe(void); 100extern int pci_direct_probe(void);
103extern void pci_direct_init(int type); 101extern void pci_direct_init(int type);
104extern void pci_pcbios_init(void); 102extern void pci_pcbios_init(void);
105extern int pci_olpc_init(void); 103extern int pci_olpc_init(void);
104extern void __init dmi_check_pciprobe(void);
105extern void __init dmi_check_skip_isa_align(void);
106
107/* some common used subsys_initcalls */
108extern int __init pci_acpi_init(void);
109extern int __init pcibios_irq_init(void);
110extern int __init pcibios_init(void);
106 111
107/* pci-mmconfig.c */ 112/* pci-mmconfig.c */
108 113