powerpc/numa: NUMA topology support for PowerNV
authorDipankar Sarma <dipankar@in.ibm.com>
Fri, 28 Oct 2011 04:25:32 +0000 (04:25 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 Nov 2011 03:51:46 +0000 (14:51 +1100)
commit1c8ee73395af762726e9eb628636d3b763618c60
tree5742e4d091f0d9c479b6d2e14a5fcb5df7d02e00
parentc40dd2f76644016ca7677545fc846ec2470d70a1
powerpc/numa: NUMA topology support for PowerNV

This patch adds support for numa topology on powernv platforms running
OPAL formware. It checks for the type of platform at run time and
sets the affinity form correctly so that NUMA topology can be discovered
correctly.

Signed-off-by: Dipankar Sarma <dipankar@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c