[PATCH] x86_64: Speed up numa_node_id by putting it directly into the PDA
[deliverable/linux.git] / arch / x86_64 / mm / srat.c
index 4b2e844c15a75707de27bccac2dcccd750db480c..c7aa08a58041bea5caec5cf04a441afdd633b9de 100644 (file)
@@ -203,7 +203,7 @@ int __init acpi_scan_nodes(unsigned long start, unsigned long end)
                if (cpu_to_node[i] == NUMA_NO_NODE)
                        continue;
                if (!node_isset(cpu_to_node[i], nodes_parsed))
-                       cpu_to_node[i] = NUMA_NO_NODE; 
+                       numa_set_node(i, NUMA_NO_NODE);
        }
        numa_init_array();
        return 0;
This page took 0.02341 seconds and 5 git commands to generate.