aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorYinghai Lu <Yinghai.Lu@Sun.COM>2008-02-01 11:49:41 -0500
committerIngo Molnar <mingo@elte.hu>2008-02-01 11:49:41 -0500
commit25eff8d4cd7400372d490c392519c5b0064c03f7 (patch)
tree1d07ccfab1f58898dee245d48e7cca3c061b73cc /arch/x86/mm
parent24e1c13c93cbdd05e4b7ea921c0050b036555adc (diff)
x86_64: add debug name for early_res
helps debugging problems in this rather murky area of code. Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/init_64.c2
-rw-r--r--arch/x86/mm/numa_64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index cc50a13ce8d9..9a471be4f5f1 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -420,7 +420,7 @@ void __init_refok init_memory_mapping(unsigned long start, unsigned long end)
420 mmu_cr4_features = read_cr4(); 420 mmu_cr4_features = read_cr4();
421 __flush_tlb_all(); 421 __flush_tlb_all();
422 422
423 reserve_early(table_start << PAGE_SHIFT, table_end << PAGE_SHIFT); 423 reserve_early(table_start << PAGE_SHIFT, table_end << PAGE_SHIFT, "PGTABLE");
424} 424}
425 425
426#ifndef CONFIG_NUMA 426#ifndef CONFIG_NUMA
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
index dc3b1f7e1451..d33954866085 100644
--- a/arch/x86/mm/numa_64.c
+++ b/arch/x86/mm/numa_64.c
@@ -103,7 +103,7 @@ static int __init allocate_cachealigned_memnodemap(void)
103 } 103 }
104 pad_addr = (nodemap_addr + pad) & ~pad; 104 pad_addr = (nodemap_addr + pad) & ~pad;
105 memnodemap = phys_to_virt(pad_addr); 105 memnodemap = phys_to_virt(pad_addr);
106 reserve_early(nodemap_addr, nodemap_addr + nodemap_size); 106 reserve_early(nodemap_addr, nodemap_addr + nodemap_size, "MEMNODEMAP");
107 107
108 printk(KERN_DEBUG "NUMA: Allocated memnodemap from %lx - %lx\n", 108 printk(KERN_DEBUG "NUMA: Allocated memnodemap from %lx - %lx\n",
109 nodemap_addr, nodemap_addr + nodemap_size); 109 nodemap_addr, nodemap_addr + nodemap_size);