]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acpi, movablemem_map: Do not zero numa_meminfo in numa_init().
authorTang Chen <tangchen@cn.fujitsu.com>
Wed, 20 Feb 2013 02:14:28 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:38 +0000 (16:52 +1100)
commit31a478ca9d4d60618f5b580107f0a65166e68b96
tree4714c814fba4534376efa69ea66ad1a0c090cf96
parent4d2cd5b03c5e7c535dd41471d7e34fccbeb80081
acpi, movablemem_map: Do not zero numa_meminfo in numa_init().

early_parse_srat() is called before numa_init(), and has initialized
numa_meminfo. So do not zero numa_meminfo in numa_init(), otherwise
we will lose memory numa info.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Reported-by: Li Shaohua <shli@kernel.org>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Cc: Jianguo Wu <wujianguo@huawei.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/numa.c