genirq: Prevent irq storm on migration
authorThomas Gleixner <tglx@linutronix.de>
Fri, 28 Jan 2011 07:47:15 +0000 (08:47 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 21:15:08 +0000 (22:15 +0100)
commitf1a06390d013244e721372b3f9b66e39b6429c71
tree8ffce4d07e61d3533d17a2b2f947aefcebde211c
parentafe8a887550f7cc24eb16449670b93f6b43c32d8
genirq: Prevent irq storm on migration

move_native_irq() masks and unmasks the interrupt line
unconditionally, but the interrupt line might be masked due to a
threaded oneshot handler in progress. Unmasking the line in that case
can lead to interrupt storms. Observed on PREEMPT_RT.

Originally-from: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@kernel.org
kernel/irq/migration.c