Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=48d480b0bde794781fcae9501fb043c1bac0e523
Commit:     48d480b0bde794781fcae9501fb043c1bac0e523
Parent:     6440fcfc62767028a2bbdf742549d24f6a023004
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 13 17:36:22 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Fri Sep 14 19:08:43 2007 +0100

    [MIPS] Malta: Fix off by one bug in interrupt handler.
    
    Fairly cosmetic as it would only affect VSMP / SMTC kernels that don't
    use vectored interrupts.
    
    Found by Beth.
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/mips-boards/malta/malta_int.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/mips-boards/malta/malta_int.c 
b/arch/mips/mips-boards/malta/malta_int.c
index 97aeb8c..b73f218 100644
--- 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();
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to