diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-07-02 14:02:54 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-07-06 11:09:06 +0530 |
commit | 6b12ec177c410ef984d2b97717df77c9269eaeac (patch) | |
tree | 2e24b88bc5a8aa7084a028a9651b3fc739ced5e1 /arch/arc/kernel | |
parent | 83ce3e6fcc16b4d36d40765618777b5a6a30d75b (diff) |
ARCv2: intc: IDU: Fix potential race in installing a chained IRQ handler
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r-- | arch/arc/kernel/mcip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arc/kernel/mcip.c b/arch/arc/kernel/mcip.c index dfeea22048af..6fb0a2fd1d28 100644 --- a/arch/arc/kernel/mcip.c +++ b/arch/arc/kernel/mcip.c @@ -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); |