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: NMichael Buesch <mb@bu3sch.de> Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Tested-by: NMichael Buesch <mb@bu3sch.de>
Showing
想要评论请 注册 或 登录