aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/head64.c
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/kernel/head64.c
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/kernel/head64.c')
-rw-r--r--arch/x86/kernel/head64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c
index a317336cdeaa..24dbf56928d7 100644
--- a/arch/x86/kernel/head64.c
+++ b/arch/x86/kernel/head64.c
@@ -75,7 +75,7 @@ static __init void reserve_ebda(void)
75 if (ebda_size > 64*1024) 75 if (ebda_size > 64*1024)
76 ebda_size = 64*1024; 76 ebda_size = 64*1024;
77 77
78 reserve_early(ebda_addr, ebda_addr + ebda_size); 78 reserve_early(ebda_addr, ebda_addr + ebda_size, "EBDA");
79} 79}
80 80
81void __init x86_64_start_kernel(char * real_mode_data) 81void __init x86_64_start_kernel(char * real_mode_data)
@@ -105,14 +105,14 @@ void __init x86_64_start_kernel(char * real_mode_data)
105 pda_init(0); 105 pda_init(0);
106 copy_bootdata(__va(real_mode_data)); 106 copy_bootdata(__va(real_mode_data));
107 107
108 reserve_early(__pa_symbol(&_text), __pa_symbol(&_end)); 108 reserve_early(__pa_symbol(&_text), __pa_symbol(&_end), "TEXT DATA BSS");
109 109
110 /* Reserve INITRD */ 110 /* Reserve INITRD */
111 if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) { 111 if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) {
112 unsigned long ramdisk_image = boot_params.hdr.ramdisk_image; 112 unsigned long ramdisk_image = boot_params.hdr.ramdisk_image;
113 unsigned long ramdisk_size = boot_params.hdr.ramdisk_size; 113 unsigned long ramdisk_size = boot_params.hdr.ramdisk_size;
114 unsigned long ramdisk_end = ramdisk_image + ramdisk_size; 114 unsigned long ramdisk_end = ramdisk_image + ramdisk_size;
115 reserve_early(ramdisk_image, ramdisk_end); 115 reserve_early(ramdisk_image, ramdisk_end, "RAMDISK");
116 } 116 }
117 117
118 reserve_ebda(); 118 reserve_ebda();