mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 09:31:50 +00:00
[SPARC64]: Let irq_install_pre_handler() get called multiple times.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
946ea09962
commit
24ac26d425
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user