aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/head64.c
diff options
context:
space:
mode:
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();