Skip to content

Commit

Permalink
irqchip: hip04: Initialize hip04_cpu_map to 0xffff
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wang Long authored and Jason Cooper committed Jan 7, 2015
1 parent 596c405 commit 03d3d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-hip04.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 03d3d45

Please sign in to comment.