提交 24ac26d4 编写于 作者: D David S. Miller 提交者: David S. Miller

[SPARC64]: Let irq_install_pre_handler() get called multiple times.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 946ea099
......@@ -414,6 +414,10 @@ void irq_install_pre_handler(int virt_irq,
data->pre_handler_arg1 = arg1;
data->pre_handler_arg2 = arg2;
if (desc->chip == &sun4u_irq_ack ||
desc->chip == &sun4v_irq_ack)
return;
desc->chip = (desc->chip == &sun4u_irq ?
&sun4u_irq_ack : &sun4v_irq_ack);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册