|
@@ -95,16 +95,16 @@ int __init sfi_parse_mtmr(struct sfi_table_header *table)
|
|
pr_debug("timer[%d]: paddr = 0x%08x, freq = %dHz, irq = %d\n",
|
|
pr_debug("timer[%d]: paddr = 0x%08x, freq = %dHz, irq = %d\n",
|
|
totallen, (u32)pentry->phys_addr,
|
|
totallen, (u32)pentry->phys_addr,
|
|
pentry->freq_hz, pentry->irq);
|
|
pentry->freq_hz, pentry->irq);
|
|
- mp_irq.type = MP_INTSRC;
|
|
|
|
- mp_irq.irqtype = mp_INT;
|
|
|
|
-/* triggering mode edge bit 2-3, active high polarity bit 0-1 */
|
|
|
|
- mp_irq.irqflag = 5;
|
|
|
|
- mp_irq.srcbus = MP_BUS_ISA;
|
|
|
|
- mp_irq.srcbusirq = pentry->irq; /* IRQ */
|
|
|
|
- mp_irq.dstapic = MP_APIC_ALL;
|
|
|
|
- mp_irq.dstirq = pentry->irq;
|
|
|
|
- mp_save_irq(&mp_irq);
|
|
|
|
- mp_map_gsi_to_irq(pentry->irq, IOAPIC_MAP_ALLOC);
|
|
|
|
|
|
+ mp_irq.type = MP_INTSRC;
|
|
|
|
+ mp_irq.irqtype = mp_INT;
|
|
|
|
+ /* triggering mode edge bit 2-3, active high polarity bit 0-1 */
|
|
|
|
+ mp_irq.irqflag = 5;
|
|
|
|
+ mp_irq.srcbus = MP_BUS_ISA;
|
|
|
|
+ mp_irq.srcbusirq = pentry->irq; /* IRQ */
|
|
|
|
+ mp_irq.dstapic = MP_APIC_ALL;
|
|
|
|
+ mp_irq.dstirq = pentry->irq;
|
|
|
|
+ mp_save_irq(&mp_irq);
|
|
|
|
+ mp_map_gsi_to_irq(pentry->irq, IOAPIC_MAP_ALLOC);
|
|
}
|
|
}
|
|
|
|
|
|
return 0;
|
|
return 0;
|