diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-29 17:51:26 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-19 16:12:39 -0800 |
commit | 9325a28ce2fa7c597e5ed41455a06c30b82b5710 (patch) | |
tree | 8221302610bd01c53932284ac48fe78be88633e8 /arch/x86/pci | |
parent | ab3b37937e8f4fb38dc9780b7bc3fd3c5195cca3 (diff) | |
download | linux-9325a28ce2fa7c597e5ed41455a06c30b82b5710.tar.gz linux-9325a28ce2fa7c597e5ed41455a06c30b82b5710.tar.bz2 linux-9325a28ce2fa7c597e5ed41455a06c30b82b5710.zip |
x86: Add pcibios_fixup_irqs to x86_init
Platforms like Moorestown want to override the pcibios_fixup_irqs
default function. Add it to x86_init.pci.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <43F901BD926A4E43B106BF17856F07559FB80D00@orsmsx508.amr.corp.intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c index 0f40ff20dd67..a60deb6e6696 100644 --- a/arch/x86/pci/irq.c +++ b/arch/x86/pci/irq.c @@ -1016,7 +1016,7 @@ static int pcibios_lookup_irq(struct pci_dev *dev, int assign) return 1; } -static void __init pcibios_fixup_irqs(void) +void __init pcibios_fixup_irqs(void) { struct pci_dev *dev = NULL; u8 pin; @@ -1142,7 +1142,7 @@ void __init pcibios_irq_init(void) pirq_table = NULL; } - pcibios_fixup_irqs(); + x86_init.pci.fixup_irqs(); if (io_apic_assign_pci_irqs && pci_routeirq) { struct pci_dev *dev = NULL; |