diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-07-02 08:32:54 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-07-06 05:39:06 (GMT) |
commit | 6b12ec177c410ef984d2b97717df77c9269eaeac (patch) | |
tree | 2e24b88bc5a8aa7084a028a9651b3fc739ced5e1 /arch/arc/kernel | |
parent | 83ce3e6fcc16b4d36d40765618777b5a6a30d75b (diff) | |
download | linux-6b12ec177c410ef984d2b97717df77c9269eaeac.tar.xz |
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 dfeea22..6fb0a2f 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); |