+1
arch/powerpc/mm/numa.c
+1
arch/powerpc/mm/numa.c
+7
arch/powerpc/platforms/pseries/papr_scm.c
+7
arch/powerpc/platforms/pseries/papr_scm.c
···
1428
1428
return -ENODEV;
1429
1429
}
1430
1430
1431
+
/*
1432
+
* open firmware platform device create won't update the NUMA
1433
+
* distance table. For PAPR SCM devices we use numa_map_to_online_node()
1434
+
* to find the nearest online NUMA node and that requires correct
1435
+
* distance table information.
1436
+
*/
1437
+
update_numa_distance(dn);
1431
1438
1432
1439
p = kzalloc(sizeof(*p), GFP_KERNEL);
1433
1440
if (!p)