From: Tejun Heo Date: Wed, 16 Feb 2011 16:11:07 +0000 (+0100) Subject: x86-64, NUMA: Factor out memblk handling into numa_{add|register}_memblk() X-Git-Tag: v2.6.39-rc1~499^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef396ec96c1a8ffd2b0bc67f1f79c7274de02b95;p=pandora-kernel.git x86-64, NUMA: Factor out memblk handling into numa_{add|register}_memblk() Factor out memblk handling from srat_64.c into two functions in numa_64.c. This patch doesn't introduce any behavior change. The next patch will make all init methods use these functions. - v2: Fixed build failure on 32bit due to misplaced NR_NODE_MEMBLKS. Reported by Ingo. Signed-off-by: Tejun Heo Cc: Yinghai Lu Cc: Brian Gerst Cc: Cyrill Gorcunov Cc: Shaohui Zheng Cc: David Rientjes Cc: Ingo Molnar Cc: H. Peter Anvin --- Reading git-diff-tree failed