We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7153d4b commit 6980d13Copy full SHA for 6980d13
arch/powerpc/kernel/smp.c
@@ -1563,6 +1563,9 @@ void start_secondary(void *unused)
1563
1564
vdso_getcpu_init();
1565
#endif
1566
+ set_numa_node(numa_cpu_lookup_table[cpu]);
1567
+ set_numa_mem(local_memory_node(numa_cpu_lookup_table[cpu]));
1568
+
1569
/* Update topology CPU masks */
1570
add_cpu_to_masks(cpu);
1571
@@ -1581,9 +1584,6 @@ void start_secondary(void *unused)
1581
1584
shared_caches = true;
1582
1585
}
1583
1586
- set_numa_node(numa_cpu_lookup_table[cpu]);
- set_numa_mem(local_memory_node(numa_cpu_lookup_table[cpu]));
-
1587
smp_wmb();
1588
notify_cpu_starting(cpu);
1589
set_cpu_online(cpu, true);
0 commit comments