Merge branch 'x86/numa' into x86/mm
authorIngo Molnar <mingo@elte.hu>
Wed, 16 Feb 2011 08:44:04 +0000 (09:44 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Feb 2011 08:44:15 +0000 (09:44 +0100)
Merge reason: consolidate it into the more generic x86/mm tree to prevent conflicts.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
1  2 
arch/x86/kernel/setup.c
arch/x86/mm/amdtopology_64.c
arch/x86/mm/numa_64.c
arch/x86/mm/srat_64.c

Simple merge
@@@ -282,12 -284,8 +282,12 @@@ int __init amd_scan_nodes(void
                memblock_x86_register_active_regions(i,
                                nodes[i].start >> PAGE_SHIFT,
                                nodes[i].end >> PAGE_SHIFT);
 +      init_memory_mapping_high();
 +      for_each_node_mask(i, node_possible_map) {
 +              int j;
 +
                for (j = apicid_base; j < cores + apicid_base; j++)
-                       apicid_to_node[(i << bits) + j] = i;
+                       set_apicid_to_node((i << bits) + j, i);
                setup_node_bootmem(i, nodes[i].start, nodes[i].end);
        }
  
Simple merge
Simple merge