diff options
Diffstat (limited to 'arch/x86/mm/numa_emulation.c')
-rw-r--r-- | arch/x86/mm/numa_emulation.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/mm/numa_emulation.c b/arch/x86/mm/numa_emulation.c index 0afa25d967ba..aeecea93820f 100644 --- a/arch/x86/mm/numa_emulation.c +++ b/arch/x86/mm/numa_emulation.c | |||
@@ -379,7 +379,11 @@ void __init numa_emulation(struct numa_meminfo *numa_meminfo, int numa_dist_cnt) | |||
379 | if (emu_nid_to_phys[i] == NUMA_NO_NODE) | 379 | if (emu_nid_to_phys[i] == NUMA_NO_NODE) |
380 | emu_nid_to_phys[i] = 0; | 380 | emu_nid_to_phys[i] = 0; |
381 | 381 | ||
382 | /* transform distance table */ | 382 | /* |
383 | * Transform distance table. numa_set_distance() ignores all | ||
384 | * out-of-bound distances. Just call it for every possible node | ||
385 | * combination. | ||
386 | */ | ||
383 | numa_reset_distance(); | 387 | numa_reset_distance(); |
384 | for (i = 0; i < MAX_NUMNODES; i++) { | 388 | for (i = 0; i < MAX_NUMNODES; i++) { |
385 | for (j = 0; j < MAX_NUMNODES; j++) { | 389 | for (j = 0; j < MAX_NUMNODES; j++) { |