diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-02-22 05:38:38 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-25 19:24:43 -0800 |
commit | 4fb6088a5cb3a77123fea1279bf2d5b16cf27648 (patch) | |
tree | c34a2c74c163fc90796ac9b61b096f85d4ca50a1 /arch/x86/include/asm/x86_init.h | |
parent | 4b2f3f7d0fe97ad312fb572c8f8d88836ae8fb1e (diff) | |
download | linux-4fb6088a5cb3a77123fea1279bf2d5b16cf27648.tar.gz linux-4fb6088a5cb3a77123fea1279bf2d5b16cf27648.tar.bz2 linux-4fb6088a5cb3a77123fea1279bf2d5b16cf27648.zip |
x86, pci: Add arch_init to x86_init abstraction
Added an abstraction function for arch specific init calls.
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
LKML-Reference: <43F901BD926A4E43B106BF17856F0755A318CE84@orsmsx508.amr.corp.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/x86_init.h')
-rw-r--r-- | arch/x86/include/asm/x86_init.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h index 8ef56f21f9f0..b1d62bbcae3d 100644 --- a/arch/x86/include/asm/x86_init.h +++ b/arch/x86/include/asm/x86_init.h @@ -98,13 +98,15 @@ struct x86_init_iommu { int (*iommu_init)(void); }; - /* - * struct x86_init_pci - platform specific pci init functions - * @init: platform specific pci init +/** + * struct x86_init_pci - platform specific pci init functions + * @arch_init: platform specific pci arch init call + * @init: platform specific pci subsystem init * @init_irq: platform specific pci irq init * @fixup_irqs: platform specific pci irq fixup */ struct x86_init_pci { + int (*arch_init)(void); int (*init)(void); void (*init_irq)(void); void (*fixup_irqs)(void); |