From: Wang Long <long.wanglong@huawei.com>
To: <tglx@linutronix.de>, <jason@lakedaemon.net>,
<haojian.zhuang@linaro.org>
Cc: <linux-kernel@vger.kernel.org>, <peifeiyue@huawei.com>,
<huxinwei@huawei.com>
Subject: [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff
Date: Thu, 11 Dec 2014 11:03:36 +0000 [thread overview]
Message-ID: <1418295816-179583-1-git-send-email-long.wanglong@huawei.com> (raw)
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>
---
drivers/irqchip/irq-hip04.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c
index 9c8f8335..8eee46b 100644
--- a/drivers/irqchip/irq-hip04.c
+++ b/drivers/irqchip/irq-hip04.c
@@ -382,7 +382,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.
--
1.8.3.4
next reply other threads:[~2014-12-11 11:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-11 11:03 Wang Long [this message]
2014-12-11 11:19 ` Haojian Zhuang
2015-01-04 4:08 ` long.wanglong
2015-01-07 2:17 ` Jason Cooper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1418295816-179583-1-git-send-email-long.wanglong@huawei.com \
--to=long.wanglong@huawei.com \
--cc=haojian.zhuang@linaro.org \
--cc=huxinwei@huawei.com \
--cc=jason@lakedaemon.net \
--cc=linux-kernel@vger.kernel.org \
--cc=peifeiyue@huawei.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®