diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-17 14:07:16 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-18 17:22:43 +0200 |
commit | 69ab849439b506cd8dd2879527fdb64d95dd5211 (patch) | |
tree | 059fba8bcb8147fafcd4e86db61f0f88d6a84095 /kernel/mutex-debug.h | |
parent | 2d860ad76f4ee4d2eba0fe3797c8d7cdce432cc0 (diff) |
genirq: Wake up irq thread after action has been installed
The wake_up_process() of the new irq thread in __setup_irq() is too
early as the irqaction is not yet fully initialized especially
action->irq is not yet set. The interrupt thread might dereference the
wrong irq descriptor.
Move the wakeup after the action is installed and action->irq has been
set.
Reported-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'kernel/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions