Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323123
b: refs/heads/master
c: e376fdf
h: refs/heads/master
i:
  323121: e35ba46
  323119: 3c57fea
v: v3
  • Loading branch information
Ralf Baechle committed Sep 17, 2012
1 parent 0b3bb39 commit be7086a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 636221b86ce0b3b1238c72bad7172d5227d408ac
refs/heads/master: e376fdf42062e7373b82093b278f99aa2b547db7
9 changes: 6 additions & 3 deletions trunk/arch/mips/mti-malta/malta-int.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,16 +273,19 @@ asmlinkage void plat_irq_dispatch(void)
unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM;
int irq;

if (unlikely(!pending)) {
spurious_interrupt();
return;
}

irq = irq_ffs(pending);

if (irq == MIPSCPU_INT_I8259A)
malta_hw0_irqdispatch();
else if (gic_present && ((1 << irq) & ipi_map[smp_processor_id()]))
malta_ipi_irqdispatch();
else if (irq >= 0)
do_IRQ(MIPS_CPU_IRQ_BASE + irq);
else
spurious_interrupt();
do_IRQ(MIPS_CPU_IRQ_BASE + irq);
}

#ifdef CONFIG_MIPS_MT_SMP
Expand Down

0 comments on commit be7086a

Please sign in to comment.