]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Fix broken rm7000/rm9000 interrupt handling
authorThomas Koeller <thomas.koeller@baslerweb.com>
Mon, 11 Feb 2008 22:42:12 +0000 (23:42 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Feb 2008 17:01:31 +0000 (17:01 +0000)
Properly acknowledge RM7K and RM9K interrupts. Before this, interrupts were
permanently masked after their first occurrence, making them non-functional.

Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/irq-rm7000.c
arch/mips/kernel/irq-rm9000.c

index 971adf6ef4f4d527b94c94dbff5edab0e57f78b1..fb50cc78b28b45cf36ffddb8fa4add2a734d5fa1 100644 (file)
@@ -33,6 +33,7 @@ static struct irq_chip rm7k_irq_controller = {
        .mask = mask_rm7k_irq,
        .mask_ack = mask_rm7k_irq,
        .unmask = unmask_rm7k_irq,
+       .eoi    = unmask_rm7k_irq
 };
 
 void __init rm7k_cpu_irq_init(void)
index 7b04583bd800410a5a0d24e92865d0640c081b8d..ed9febe63d7286c19189c154a0e59d0ee956a529 100644 (file)
@@ -75,6 +75,7 @@ static struct irq_chip rm9k_irq_controller = {
        .mask = mask_rm9k_irq,
        .mask_ack = mask_rm9k_irq,
        .unmask = unmask_rm9k_irq,
+       .eoi    = unmask_rm9k_irq
 };
 
 static struct irq_chip rm9k_perfcounter_irq = {