提交 03d3d45b 编写于 作者: W Wang Long 提交者: Jason Cooper

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: NWang Long <long.wanglong@huawei.com>
Acked-by: NHaojian Zhuang <haojian.zhuang@linaro.org>
Link: https://lkml.kernel.org/r/1418295816-179583-1-git-send-email-long.wanglong@huawei.comSigned-off-by: NJason Cooper <jason@lakedaemon.net>
上级 596c4051
...@@ -381,7 +381,7 @@ hip04_of_init(struct device_node *node, struct device_node *parent) ...@@ -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. * It will be refined as each CPU probes its ID.
*/ */
for (i = 0; i < NR_HIP04_CPU_IF; i++) 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. * Find out how many interrupts are supported.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册