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>

authored by Thomas Gleixner and committed by H. Peter Anvin 4fb6088a 4b2f3f7d

+5 -3
+5 -3
arch/x86/include/asm/x86_init.h
··· 98 98 int (*iommu_init)(void); 99 99 }; 100 100 101 - /* 102 - * struct x86_init_pci - platform specific pci init functions 103 - * @init: platform specific pci init 101 + /** 102 + * struct x86_init_pci - platform specific pci init functions 103 + * @arch_init: platform specific pci arch init call 104 + * @init: platform specific pci subsystem init 104 105 * @init_irq: platform specific pci irq init 105 106 * @fixup_irqs: platform specific pci irq fixup 106 107 */ 107 108 struct x86_init_pci { 109 + int (*arch_init)(void); 108 110 int (*init)(void); 109 111 void (*init_irq)(void); 110 112 void (*fixup_irqs)(void);