summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-11-11 11:29:58 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-11-11 11:29:58 -0800
commit1fd18a871a0761633d02d0536ecb4a311d92a3d3 (patch)
tree2f7deb11ace12181473289d45aed06943f80e760
parent26a9ba160f50115ece48198608002600914932a7 (diff)
parente7e7e0c084ef862d5754701108d4a038514d6314 (diff)
Merge branch 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: genirq: try_one_irq() must be called with irq disabled
-rw-r--r--kernel/irq/spurious.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
index 114e704760f..bd7273e6282 100644
--- a/kernel/irq/spurious.c
+++ b/kernel/irq/spurious.c
@@ -121,7 +121,9 @@ static void poll_all_shared_irqs(void)
if (!(status & IRQ_SPURIOUS_DISABLED))
continue;
+ local_irq_disable();
try_one_irq(i, desc);
+ local_irq_enable();
}
}