]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/numa: Add length when creating OF properties via VPHN
authorAnton Blanchard <anton@samba.org>
Sat, 29 Jan 2011 12:28:04 +0000 (12:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 7 Feb 2011 02:06:03 +0000 (13:06 +1100)
commitf3e2fbfc7e3a15325d62c9517a0287bb1565f824
tree37429ad13b91df41267c85303fd14e77e5f7ce19
parent8826f8f0cee6be693936e5d91aeabf6e31c9f5d5
powerpc/numa: Add length when creating OF properties via VPHN

The rest of the NUMA code expects an OF associativity property with
the first cell containing the length. Without this fix all topology changes
cause us to misparse the property and put the cpu into node 0.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c