summaryrefslogtreecommitdiffstats
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-07 09:05:05 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 12:58:08 +0100
commit1082687e8d6292a61759eb83358e7db39fed1bf4 (patch)
tree2a6ba19073820f116050b1730f3e08f97187ddb2 /kernel/irq/handle.c
parent2b879eaf095878430c38cbd95e5c0fc4ce65ad8e (diff)
downloadop-kernel-dev-1082687e8d6292a61759eb83358e7db39fed1bf4.zip
op-kernel-dev-1082687e8d6292a61759eb83358e7db39fed1bf4.tar.gz
genirq: Plug race in report_bad_irq()
We cannot walk the action chain unlocked. Even if IRQ_INPROGRESS is set an action can be removed and we follow a null pointer. It's safe to take the lock there, because the code which removes the action will call synchronize_irq() which waits unlocked for IRQ_INPROGRESS going away. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/handle.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud