OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6440fcf
)
[MIPS] Malta: Fix off by one bug in interrupt handler.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 13 Sep 2007 16:36:22 +0000
(17:36 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 14 Sep 2007 18:08:43 +0000
(19:08 +0100)
Fairly cosmetic as it would only affect VSMP / SMTC kernels that don't
use vectored interrupts.
Found by Beth.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/malta/malta_int.c
patch
|
blob
|
history
diff --git
a/arch/mips/mips-boards/malta/malta_int.c
b/arch/mips/mips-boards/malta/malta_int.c
index
97aeb8c
..
b73f218
100644
(file)
--- a/
arch/mips/mips-boards/malta/malta_int.c
+++ b/
arch/mips/mips-boards/malta/malta_int.c
@@
-256,7
+256,7
@@
asmlinkage void plat_irq_dispatch(void)
if (irq == MIPSCPU_INT_I8259A)
malta_hw0_irqdispatch();
- else if (irq > 0)
+ else if (irq >
=
0)
do_IRQ(MIPS_CPU_IRQ_BASE + irq);
else
spurious_interrupt();