aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/irq.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-29 11:51:26 -0400
committerH. Peter Anvin <hpa@zytor.com>2010-02-19 19:12:39 -0500
commit9325a28ce2fa7c597e5ed41455a06c30b82b5710 (patch)
tree8221302610bd01c53932284ac48fe78be88633e8 /arch/x86/pci/irq.c
parentab3b37937e8f4fb38dc9780b7bc3fd3c5195cca3 (diff)
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/irq.c')
-rw-r--r--arch/x86/pci/irq.c4
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)
1016 return 1; 1016 return 1;
1017} 1017}
1018 1018
1019static void __init pcibios_fixup_irqs(void) 1019void __init pcibios_fixup_irqs(void)
1020{ 1020{
1021 struct pci_dev *dev = NULL; 1021 struct pci_dev *dev = NULL;
1022 u8 pin; 1022 u8 pin;
@@ -1142,7 +1142,7 @@ void __init pcibios_irq_init(void)
1142 pirq_table = NULL; 1142 pirq_table = NULL;
1143 } 1143 }
1144 1144
1145 pcibios_fixup_irqs(); 1145 x86_init.pci.fixup_irqs();
1146 1146
1147 if (io_apic_assign_pci_irqs && pci_routeirq) { 1147 if (io_apic_assign_pci_irqs && pci_routeirq) {
1148 struct pci_dev *dev = NULL; 1148 struct pci_dev *dev = NULL;