x86-32, numa: Remove redundant node_remap_size[]
authorTejun Heo <tj@kernel.org>
Mon, 4 Apr 2011 22:23:59 +0000 (00:23 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 7 Apr 2011 00:57:50 +0000 (17:57 -0700)
commit198bd06bbfde2984027e91f64c55eb19a7034a27
tree87c611e56b58bf13ac59d52a11e7332aea70a22c
parent1d85b61baf0334dd6bb88261bec42b808204d694
x86-32, numa: Remove redundant node_remap_size[]

Remap area size can be determined from node_remap_start_vaddr[] and
node_remap_end_vaddr[] making node_remap_size[] redundant.  Remove it.

While at it, make resume_map_numa_kva() use @nr_pages for number of
pages instead of @size.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1301955840-7246-14-git-send-email-tj@kernel.org
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/numa_32.c