x86-64, NUMA: Introduce struct numa_meminfo
authorTejun Heo <tj@kernel.org>
Wed, 16 Feb 2011 16:11:08 +0000 (17:11 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 16 Feb 2011 16:11:08 +0000 (17:11 +0100)
commit97e7b78d0674882a0aae043fda428c583dbb225d
treef7393c83623b2adfacc1675779901a4af2a45d78
parent8968dab8ad90ea16ef92f2406868354ea3ab6bb9
x86-64, NUMA: Introduce struct numa_meminfo

Arrays for memblks and nodeids and their length lived in separate
variables making things unnecessarily cumbersome.  Introduce struct
numa_meminfo which contains all memory configuration info.  This patch
doesn't cause any behavior change.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Shaohui Zheng <shaohui.zheng@intel.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/numa_64.c