Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40847
b: refs/heads/master
c: f72fa70
h: refs/heads/master
i:
  40845: 1795e23
  40843: ff41359
  40839: b5498dd
  40831: 562e845
v: v3
  • Loading branch information
Pavel Emelianov authored and Linus Torvalds committed Nov 13, 2006
1 parent 490df7e commit 37b86d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 0130b0b32ee53dc7add773fcea984f6a26ef1da3
refs/heads/master: f72fa707604c015a6625e80f269506032d5430dc
6 changes: 5 additions & 1 deletion trunk/kernel/irq/spurious.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ void note_interrupt(unsigned int irq, struct irq_desc *desc,
if (unlikely(irqfixup)) {
/* Don't punish working computers */
if ((irqfixup == 2 && irq == 0) || action_ret == IRQ_NONE) {
int ok = misrouted_irq(irq);
int ok;

spin_unlock(&desc->lock);
ok = misrouted_irq(irq);
spin_lock(&desc->lock);
if (action_ret == IRQ_NONE)
desc->irqs_unhandled -= ok;
}
Expand Down

0 comments on commit 37b86d3

Please sign in to comment.