]> git.neil.brown.name Git - history.git/commit
[PATCH] ppc64: fix initialisation of NUMA arrays
authorAndrew Morton <akpm@osdl.org>
Fri, 12 Mar 2004 00:11:31 +0000 (16:11 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 12 Mar 2004 00:11:31 +0000 (16:11 -0800)
commitef6574ff3544d9dcaae5431514432cedbef7eba7
tree2f96143ba775d2dab93bbec06bb8608b5f53c183
parentdcdeeef8b9937b13a366fb4cbfca7df678f5dd5b
[PATCH] ppc64: fix initialisation of NUMA arrays

From: Anton Blanchard <anton@samba.org>

We were hitting problems on machines with cpu_possible != cpu_online when
NUMA was enabled.  The debug checks would trip during scheduler init
because we iterate through all possible cpus whereas we only set up NUMA
information for online cpus.

Longer term we should have a cpu_up hook which sets up its NUMA information
but for now we initalise all possible cpus and memory to node 0.
arch/ppc64/mm/numa.c
include/asm-ppc64/mmzone.h