]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/x86/mm/srat_64.c
Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mv-sheeva.git] / arch / x86 / mm / srat_64.c
index 3ebe6519bd8734842d60c2444062590e8f732616..f9897f7a9ef1e25cfa81e9190a3449bec9e35f70 100644 (file)
@@ -509,7 +509,8 @@ void __init acpi_fake_nodes(const struct bootnode *fake_nodes, int num_nodes)
                 * node, it must now point to the fake node ID.
                 */
                for (j = 0; j < MAX_LOCAL_APIC; j++)
-                       if (apicid_to_node[j] == nid)
+                       if (apicid_to_node[j] == nid &&
+                           fake_apicid_to_node[j] == NUMA_NO_NODE)
                                fake_apicid_to_node[j] = i;
        }
        for (i = 0; i < num_nodes; i++)