x86: ioapic: Use new move_irq functions
Use the functions which take irq_data. We already have a pointer to irq_data. That avoids a sparse irq lookup in move_*_irq. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
51c43ac6e4
commit
08221110e8
@ -2374,7 +2374,7 @@ static inline void irq_complete_move(struct irq_cfg *cfg) { }
|
|||||||
static void ack_apic_edge(struct irq_data *data)
|
static void ack_apic_edge(struct irq_data *data)
|
||||||
{
|
{
|
||||||
irq_complete_move(data->chip_data);
|
irq_complete_move(data->chip_data);
|
||||||
move_native_irq(data->irq);
|
irq_move_irq(data);
|
||||||
ack_APIC_irq();
|
ack_APIC_irq();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2520,7 +2520,7 @@ static void ack_apic_level(struct irq_data *data)
|
|||||||
* and you can go talk to the chipset vendor about it.
|
* and you can go talk to the chipset vendor about it.
|
||||||
*/
|
*/
|
||||||
if (!io_apic_level_ack_pending(cfg))
|
if (!io_apic_level_ack_pending(cfg))
|
||||||
move_masked_irq(irq);
|
irq_move_masked_irq(data);
|
||||||
unmask_ioapic(cfg);
|
unmask_ioapic(cfg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user