diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-07-02 10:32:54 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-07-06 07:39:06 +0200 |
commit | 6b12ec177c410ef984d2b97717df77c9269eaeac (patch) | |
tree | 2e24b88bc5a8aa7084a028a9651b3fc739ced5e1 /arch/arc | |
parent | ARCv2: intc: IDU: support irq affinity (diff) | |
download | linux-6b12ec177c410ef984d2b97717df77c9269eaeac.tar.xz linux-6b12ec177c410ef984d2b97717df77c9269eaeac.zip |
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')
-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); |