aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <graeme.gregory@linaro.org>2016-06-07 15:01:22 +0100
committerGraeme Gregory <graeme.gregory@linaro.org>2016-06-07 15:01:22 +0100
commit0ca5bc98334a884e958d7c375275983ead19b503 (patch)
treec611810875db35b1651925b1313ba3bf93e07e48
parent86ea29d7d66729a401126782b40e6f8c4cb36352 (diff)
downloadleg-kernel-0ca5bc98334a884e958d7c375275983ead19b503.tar.gz
irqchip, GICv3, ITS: fixup for node handling change
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
-rw-r--r--drivers/irqchip/irq-gic-v3-its.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index 3ab1404281e4..44b9ea74e24d 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -1582,7 +1582,7 @@ static int __init its_probe_one(struct resource *res,
its->base = its_base;
its->phys_base = res->start;
its->ite_size = ((readl_relaxed(its_base + GITS_TYPER) >> 4) & 0xf) + 1;
- its->numa_node = of_node_to_nid(node);
+ its->numa_node = of_node_to_nid(to_of_node(handle));
its->cmd_base = kzalloc(ITS_CMD_QUEUE_SZ, GFP_KERNEL);
if (!its->cmd_base) {