mptable: Refactor lintsrc generation
[coreboot.git] / src / mainboard / supermicro / x6dhe_g / mptable.c
index 9b182a2d1c809c24a1b27942033108ec571dff43..ba07bc7fca5716b057cbe6c02edded821f841319 100644 (file)
@@ -116,10 +116,7 @@ static void *smp_write_config_table(void *v)
                bus_esb6300_2, 0x08, 0x02, 0x14);
 
        /* Standard local interrupt assignments */
-       smp_write_lintsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH,
-               bus_isa, 0x00, MP_APIC_ALL, 0x00);
-       smp_write_lintsrc(mc, mp_NMI, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH,
-               bus_isa, 0x00, MP_APIC_ALL, 0x01);
+       mptable_lintsrc(mc, bus_isa);
 
        /* FIXME verify I have the irqs handled for all of the risers */