x86-64, NUMA: Remove local variable found from amd_numa_init()
commit99df738cd28cc39054cd1a77685d4a94ed2193a4
authorTejun Heo <tj@kernel.org>
Wed, 16 Feb 2011 11:13:07 +0000 (16 12:13 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 16 Feb 2011 11:13:07 +0000 (16 12:13 +0100)
tree169dd669d3be665dd588ccc4f908e8289a5ed866
parentec8cf29b1d39aeb6ef98bc589f0c9a33a8f94c49
x86-64, NUMA: Remove local variable found from amd_numa_init()

Use weight count on mem_nodes_parsed instead.

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/amdtopology_64.c