From: Yinghai Lu Date: Wed, 8 Jul 2009 16:50:19 +0000 (-0700) Subject: x86: don't clear nodes_states[N_NORMAL_MEMORY] when numa is not compiled in X-Git-Tag: v2.6.31-rc3~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b572809581d5a10dbe35aa6bf689f32b9c5ad6;p=pandora-kernel.git x86: don't clear nodes_states[N_NORMAL_MEMORY] when numa is not compiled in Alex found that specjbb2005 still can not run with hugepages on an x86-64 machine. This only happens when numa is not compiled in. The root cause: node_set_state will not set it back for us in that case, so don't clear that when numa is not select in config [ v2: use node_clear_state instead ] Reported-and-Tested-by: Alex Shi Signed-off-by: Yinghai Lu Reviewed-by: Christoph Lameter Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed