summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-hip04.c
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2014-12-11 12:03:36 +0100
committerJason Cooper <jason@lakedaemon.net>2015-01-07 03:13:18 +0100
commit03d3d45be413196790f82d601dc0527539804830 (patch)
tree49bdaad86cdf5f758e4f90032e9cf2ff331867c8 /drivers/irqchip/irq-hip04.c
parentirqchip: mtk-sysirq: Use IS_ERR() instead of NULL pointer check (diff)
downloadlinux-03d3d45be413196790f82d601dc0527539804830.tar.xz
linux-03d3d45be413196790f82d601dc0527539804830.zip
irqchip: hip04: Initialize hip04_cpu_map to 0xffff
HiP04 GIC extends to support 16 cores, so we should initialize the hip04_cpu_map to 0xffff. Signed-off-by: Wang Long <long.wanglong@huawei.com> Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org> Link: https://lkml.kernel.org/r/1418295816-179583-1-git-send-email-long.wanglong@huawei.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip/irq-hip04.c')
-rw-r--r--drivers/irqchip/irq-hip04.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c
index 29b8f21b74d0..6bc2deb73d53 100644
--- a/drivers/irqchip/irq-hip04.c
+++ b/drivers/irqchip/irq-hip04.c
@@ -381,7 +381,7 @@ hip04_of_init(struct device_node *node, struct device_node *parent)
* It will be refined as each CPU probes its ID.
*/
for (i = 0; i < NR_HIP04_CPU_IF; i++)
- hip04_cpu_map[i] = 0xff;
+ hip04_cpu_map[i] = 0xffff;
/*
* Find out how many interrupts are supported.