[PATCH] powerpc numa: fix boot_cpuid always assigned to node 0
commitc08888cf3c80fe07bfd176113c390ca31d3ba5c2
authorNathan Lynch <nathanl@austin.ibm.com>
Tue, 21 Mar 2006 00:34:15 +0000 (20 18:34 -0600)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Mar 2006 04:03:40 +0000 (22 15:03 +1100)
tree37d6ef3a46dca009c997e337874a194551bd4fcd
parent1d7aac5b3bce34c8b5fcec8ca577a4d3af880fd3
[PATCH] powerpc numa: fix boot_cpuid always assigned to node 0

At boot, the numa code is assigning boot_cpuid to node 0
unconditionally.  Basically, numa_setup_cpu is being stupid about it,
but this is the minimal fix -- just call numa_setup_cpu(boot_cpuid)
later, after all nodes have been set online.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/numa.c