summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-10-10 11:07:59 -0400
committerRich Felker <dalias@libc.org>2016-10-10 11:07:59 -0400
commitabb9115368e3ae98c2204043c3c3a721e7d5474f (patch)
treef5d58f77790d74006d6f6338072662417ab33919
parente1eb1b8738a81471eff71edd052453f1b54a72ca (diff)
downloadlinux-sh-devel-20161009.tar.gz
irqchip/jcore: optimize costly hotpath from last fixdevel-20161009
Signed-off-by: Rich Felker <dalias@libc.org>
-rw-r--r--drivers/irqchip/irq-jcore-aic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-jcore-aic.c b/drivers/irqchip/irq-jcore-aic.c
index b53a8a55ecb3..f3f7b777dd76 100644
--- a/drivers/irqchip/irq-jcore-aic.c
+++ b/drivers/irqchip/irq-jcore-aic.c
@@ -27,7 +27,7 @@ static struct irq_chip jcore_aic;
static void handle_jcore_irq(struct irq_desc *desc)
{
- if (irq_is_percpu(irq_desc_get_irq(desc)))
+ if (irqd_is_per_cpu(irq_desc_get_irq_data(desc)))
handle_percpu_irq(desc);
else
handle_simple_irq(desc);