mptable: Get rid of fixup_virtual_wire
[coreboot.git] / src / mainboard / asus / m2n-e / mptable.c
index 86b66701ad1a2d5879ac920d625129a8bf5ba810..716c754eecb33a1e60565fab4a719d5dddf176c0 100644 (file)
@@ -91,8 +91,7 @@ static void *smp_write_config_table(void *v)
        }
 
        /* Local Ints:        Type       Trigger               Polarity              Bus ID   IRQ  APIC ID      PIN# */
-       smp_write_lintsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_EDGE | MP_IRQ_POLARITY_HIGH, bus_isa, 0x0, MP_APIC_ALL, 0x0);
-       smp_write_lintsrc(mc, mp_NMI,    MP_IRQ_TRIGGER_EDGE | MP_IRQ_POLARITY_HIGH, bus_isa, 0x0, MP_APIC_ALL, 0x1);
+       mptable_lintsrc(mc, bus_isa);
 
        /* Compute the checksums. */
        mc->mpe_checksum =
@@ -106,6 +105,6 @@ static void *smp_write_config_table(void *v)
 unsigned long write_smp_table(unsigned long addr)
 {
        void *v;
-       v = smp_write_floating_table(addr);
+       v = smp_write_floating_table(addr, 0);
        return (unsigned long)smp_write_config_table(v);
 }