Skip to content

Commit

Permalink
ARCv2: intc: IDU: Fix potential race in installing a chained IRQ handler
Browse files Browse the repository at this point in the history
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Vineet Gupta committed Jul 6, 2015
1 parent 83ce3e6 commit 6b12ec1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/arc/kernel/mcip.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,7 @@ idu_of_init(struct device_node *intc, struct device_node *parent)
if (!i)
idu_first_irq = irq;

irq_set_handler_data(irq, domain);
irq_set_chained_handler(irq, idu_cascade_isr);
irq_set_chained_handler_and_data(irq, idu_cascade_isr, domain);
}

__mcip_cmd(CMD_IDU_ENABLE, 0);
Expand Down

0 comments on commit 6b12ec1

Please sign in to comment.