Commit 1e529776 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

x86/ipipe: fix irqchip handlers involved in IRQ remapping

This fix enables interrupt pipelining with CONFIG_IRQ_REMAP for
IO_APIC and MSI.
parent 0a037e7d
......@@ -579,8 +579,6 @@ static void __eoi_ioapic_irq(struct irq_cfg *cfg)
cfg->vector);
}
#if !defined(CONFIG_IPIPE) || defined(CONFIG_SMP)
void eoi_ioapic_irq(unsigned int irq, struct irq_cfg *cfg)
{
unsigned long flags;
......@@ -590,8 +588,6 @@ void eoi_ioapic_irq(unsigned int irq, struct irq_cfg *cfg)
raw_spin_unlock_irqrestore(&ioapic_lock, flags);
}
#endif /* !CONFIG_IPIPE || CONFIG_SMP */
static void clear_IO_APIC_pin(unsigned int apic, unsigned int pin)
{
struct IO_APIC_route_entry entry;
......
......@@ -334,12 +334,12 @@ void panic_if_irq_remap(const char *msg)
static void ir_ack_apic_edge(struct irq_data *data)
{
ack_APIC_irq();
__ack_APIC_irq();
}
static void ir_ack_apic_level(struct irq_data *data)
{
ack_APIC_irq();
__ack_APIC_irq();
eoi_ioapic_irq(data->irq, irqd_cfg(data));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment