powerpc/numa: Use ibm,architecture-vec-5 to detect form 1 affinity
authorAnton Blanchard <anton@samba.org>
Sun, 16 May 2010 20:28:35 +0000 (20:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 May 2010 07:31:12 +0000 (17:31 +1000)
commitbc8449cc57898bc9cf1ffc4619d026f77bf327c1
treebb4d846c5c3ad66d4e98278f43ff520320f8d917
parent56608209d34b8add40af54031d4e420afbcde9f6
powerpc/numa: Use ibm,architecture-vec-5 to detect form 1 affinity

I've been told that the architected way to determine we are in form 1
affinity mode is by reading the ibm,architecture-vec-5 property which
mirrors the layout of the fifth vector of the ibm,client-architecture
structure.

Eventually we may want to parse the ibm,architecture-vec-5 and create
FW_FEATURE_* bits.

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