From: Tejun Heo Date: Wed, 16 Feb 2011 16:11:10 +0000 (+0100) Subject: x86-64, NUMA: Make emulation code build numa_meminfo and share the registration path X-Git-Tag: v2.6.39-rc1~499^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c88aea7a70b0f014f98c695069ba91abc9e9b9a4;p=pandora-kernel.git x86-64, NUMA: Make emulation code build numa_meminfo and share the registration path NUMA emulation code built nodes[] array and had its own registration path to set up the emulated nodes. Update it such that it generates emulated numa_meminfo and returns control to initmem_init() and shares the same registration path with non-emulated cases. Because {acpi|amd}_fake_nodes() expect nodes[] parameter, fake_physnodes() now generates nodes[] from numa_meminfo. This will go away with further updates. 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