Skip to content

Commit

Permalink
x86, pci: Add arch_init to x86_init abstraction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner authored and H. Peter Anvin committed Feb 26, 2010
1 parent 4b2f3f7 commit 4fb6088
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions arch/x86/include/asm/x86_init.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4fb6088

Please sign in to comment.