]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sparc64: Fix numa node distance initialization
authorNitin Gupta <nitin.m.gupta@oracle.com>
Wed, 6 Jan 2016 06:35:35 +0000 (22:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jun 2016 17:18:21 +0000 (10:18 -0700)
commit4185bd68ef40b275669efec624c0d792cd7a2acf
treec9ee8bda2729dbe2dfe0abea515980f7cb043f6e
parente9c74337a7c03d33f2afd5bb341cc20ad209698c
sparc64: Fix numa node distance initialization

[ Upstream commit 36beca6571c941b28b0798667608239731f9bc3a ]

Orabug: 22495713

Currently, NUMA node distance matrix is initialized only
when a machine descriptor (MD) exists. However, sun4u
machines (e.g. Sun Blade 2500) do not have an MD and thus
distance values were left uninitialized. The initialization
is now moved such that it happens on both sun4u and sun4v.

Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com>
Tested-by: Mikael Pettersson <mikpelinux@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/mm/init_64.c