Skip to content

Commit

Permalink
[MIPS] Fix broken rm7000/rm9000 interrupt handling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Koeller authored and Ralf Baechle committed Feb 19, 2008
1 parent 2eaa7ec commit c42d95d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/kernel/irq-rm7000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions arch/mips/kernel/irq-rm9000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit c42d95d

Please sign in to comment.