summaryrefslogtreecommitdiff
path: root/drivers/of/of_numa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/of_numa.c')
-rw-r--r--drivers/of/of_numa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c
index fe6b13608e51..5949829a1b00 100644
--- a/drivers/of/of_numa.c
+++ b/drivers/of/of_numa.c
@@ -111,6 +111,8 @@ static int __init of_numa_parse_distance_map_v1(struct device_node *map)
return -EINVAL;
}
+ node_set(nodea, numa_nodes_parsed);
+
numa_set_distance(nodea, nodeb, distance);
/* Set default distance of node B->A same as A->B */