]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64: fix CPU numa init code thinkos
authorOlof Johansson <olof@austin.ibm.com>
Thu, 21 Oct 2004 03:57:03 +0000 (20:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Thu, 21 Oct 2004 03:57:03 +0000 (20:57 -0700)
commit2e036bd1e8e4b094cf31a2e744076ad6087acf48
tree7fa9cec9100b86c4481c92979bff58de97a1eb86
parent2a0e92f47d29c40e86a0201328239d13e3d702dd
[PATCH] ppc64: fix CPU numa init code thinkos

There seems to have been a couple of thinkos in the NUMA init code, in
particular in find_cpu_node():

* Property size returned is in bytes, not words
* Off-by-one error in loop iteration

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/mm/numa.c