diff options
author | Thomas Koeller <thomas.koeller@baslerweb.com> | 2008-02-11 17:42:12 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-02-19 12:01:31 -0500 |
commit | c42d95d6c49ce9c678a9d10aeb3f526c850d66dc (patch) | |
tree | 5151123b8b0f71703ce16343c4042819d8abb575 /arch/mips/kernel | |
parent | 2eaa7ec286db54cc1a864565ed9367966743bcbd (diff) |
[MIPS] Fix broken rm7000/rm9000 interrupt handling
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>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/irq-rm7000.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/irq-rm9000.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/irq-rm7000.c b/arch/mips/kernel/irq-rm7000.c index 971adf6ef4f4..fb50cc78b28b 100644 --- a/arch/mips/kernel/irq-rm7000.c +++ b/arch/mips/kernel/irq-rm7000.c | |||
@@ -33,6 +33,7 @@ static struct irq_chip rm7k_irq_controller = { | |||
33 | .mask = mask_rm7k_irq, | 33 | .mask = mask_rm7k_irq, |
34 | .mask_ack = mask_rm7k_irq, | 34 | .mask_ack = mask_rm7k_irq, |
35 | .unmask = unmask_rm7k_irq, | 35 | .unmask = unmask_rm7k_irq, |
36 | .eoi = unmask_rm7k_irq | ||
36 | }; | 37 | }; |
37 | 38 | ||
38 | void __init rm7k_cpu_irq_init(void) | 39 | void __init rm7k_cpu_irq_init(void) |
diff --git a/arch/mips/kernel/irq-rm9000.c b/arch/mips/kernel/irq-rm9000.c index 7b04583bd800..ed9febe63d72 100644 --- a/arch/mips/kernel/irq-rm9000.c +++ b/arch/mips/kernel/irq-rm9000.c | |||
@@ -75,6 +75,7 @@ static struct irq_chip rm9k_irq_controller = { | |||
75 | .mask = mask_rm9k_irq, | 75 | .mask = mask_rm9k_irq, |
76 | .mask_ack = mask_rm9k_irq, | 76 | .mask_ack = mask_rm9k_irq, |
77 | .unmask = unmask_rm9k_irq, | 77 | .unmask = unmask_rm9k_irq, |
78 | .eoi = unmask_rm9k_irq | ||
78 | }; | 79 | }; |
79 | 80 | ||
80 | static struct irq_chip rm9k_perfcounter_irq = { | 81 | static struct irq_chip rm9k_perfcounter_irq = { |