]> git.karo-electronics.de Git - karo-tx-linux.git/commit
page_alloc: use N_MEMORY instead N_HIGH_MEMORY change the node_states initialization
authorLai Jiangshan <laijs@cn.fujitsu.com>
Thu, 29 Nov 2012 03:18:06 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:20 +0000 (16:23 +1100)
commit441f31d9c14fb878473f51b42eedbbd3af8aae54
tree915ae3d0e4bc21e451b33645156b0ad80a8eac94
parent0e10c17840f2e840a2bf019bc2e00566928cb1f2
page_alloc: use N_MEMORY instead N_HIGH_MEMORY change the node_states initialization

N_HIGH_MEMORY stands for the nodes that has normal or high memory.
N_MEMORY stands for the nodes that has any memory.

The code here need to handle with the nodes which have memory, we should
use N_MEMORY instead.

Since we introduced N_MEMORY, we update the initialization of node_states.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Lin Feng <linfeng@cn.fujitsu.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/init_64.c
mm/page_alloc.c