diff options
author | Tejun Heo <[email protected]> | 2011-02-16 17:11:10 +0100 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2011-02-16 17:11:10 +0100 |
commit | 9d073caeb372940af02a768d2b7e845ac732bda0 (patch) | |
tree | 7d46006e3f0fc1fb0c13924735d9afea6ac9c3eb /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | d9c515eacb3bde73f7a5ecb7e35ea6e660ad421d (diff) |
x86-64, NUMA: Build and use direct emulated nid -> phys nid mapping
NUMA emulation copied physical NUMA configuration into physnodes[] and
used it to reverse-map emulated nodes to physical nodes, which is
unnecessarily convoluted. Build emu_nid_to_phys[] array to map
emulated nids directly to the matching physical nids and use it in
numa_add_cpu().
physnodes[] will be removed with further patches.
- v2: Build failure when CONFIG_DEBUG_PER_CPU_MAPS due to missing
local variable definition fixed. Reported by Ingo.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Shaohui Zheng <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions