mm/memblock: use existing interface to set nid
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Mon, 8 Oct 2012 23:32:21 +0000 (16:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 07:22:47 +0000 (16:22 +0900)
commite9d24ad30fc5c4c601824fb39712350b053ca812
tree6dbff4457b29fd7f694c219b97114b8a1d893cca
parent45cac65b0fcd287ebb877b141d40ba9bbe8e5da7
mm/memblock: use existing interface to set nid

Use the existing interface function to set the NUMA node ID (NID) for the
regions, either memory or reserved region.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Gavin Shan <shangw@linux.vnet.ibm.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memblock.c