From: Tejun Heo Date: Wed, 16 Feb 2011 16:11:08 +0000 (+0100) Subject: x86-64, NUMA: Unify the rest of memblk registration X-Git-Tag: v2.6.39-rc1~499^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd0435d8fb1d4e5771f9ae3af71f2a77c1f4bd09;p=pandora-kernel.git x86-64, NUMA: Unify the rest of memblk registration Move the remaining memblk registration logic from acpi_scan_nodes() to numa_register_memblks() and initmem_init(). This applies nodes_cover_memory() sanity check, memory node sorting and node_online() checking, which were only applied to acpi, to all init methods. As all memblk registration is moved to common code, active range clearing is moved to initmem_init() too and removed from bad_srat(). 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