From: Tejun Heo Date: Wed, 16 Feb 2011 16:11:10 +0000 (+0100) Subject: x86-64, NUMA: Unify emulated apicid -> node mapping transformation X-Git-Tag: v2.6.39-rc1~499^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b78cb549b4105cbf7c6f7461f27a21f00c44997;p=pandora-kernel.git x86-64, NUMA: Unify emulated apicid -> node mapping transformation NUMA emulation changes node mappings and thus apicid -> node mapping needs to be updated accordingly. srat_64 and amdtopology_64 did this separately; however, all the necessary information is the mapping from emulated nodes to physical nodes which is available in emu_nid_to_phys[]. Implement common __apicid_to_node[] transformation in numa_emulation() and drop duplicate implementations. 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