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>
This commit is contained in:
committed by
H. Peter Anvin
parent
ab3b37937e
commit
9325a28ce2
@@ -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;
|
||||
|
Reference in New Issue
Block a user