numa_emulation: fix cpumask_of_node()
[deliverable/linux.git] / arch / x86 / mm / numa_emulation.c
index 46db56845f180bcc890195e52052daa686680518..740b0a3554316679e4fd69e11fb20a308dab471f 100644 (file)
@@ -60,7 +60,7 @@ static int __init emu_setup_memblk(struct numa_meminfo *ei,
        eb->nid = nid;
 
        if (emu_nid_to_phys[nid] == NUMA_NO_NODE)
-               emu_nid_to_phys[nid] = pb->nid;
+               emu_nid_to_phys[nid] = nid;
 
        pb->start += size;
        if (pb->start >= pb->end) {
This page took 0.029502 seconds and 5 git commands to generate.