Skip to contentSkip to conversation

x86: add target bootmem range that in early_res_to_bootmem printout

PATCH Applied Yinghai Lu 2 participants 2 messages Jul 18, 2008 – Jul 20, 2008 x86

lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

PATCH 1/1 x86: add target bootmem range that in early_res_to_bootmem printout

arch/x86/kernel/e820.c +2 -1
index 28c2918..d360fc8 100644
@@ -877,7 +877,8 @@ void __init early_res_to_bootmem(u64 start, u64 end)
 	for (i = 0; i < MAX_EARLY_RES && early_res[i].end; i++)
 		count++;
 
-	printk(KERN_INFO "(%d early reservations) ==> bootmem\n", count);
+	printk(KERN_INFO "(%d early reservations) ==> bootmem [%010llx - %010llx]\n",
+			 count, start, end);
 	for (i = 0; i < count; i++) {
 		struct early_res *r = &early_res[i];
 		printk(KERN_INFO "  #%d [%010llx - %010llx] %16s", i,
Applied
#1 lore raw

arch/x86/kernel/e820.c void __init early_res_to_bootmem(u64 start, u64 end) · line 881

Quoted 3 lines · Yinghai Lu
arch/x86/kernel/e820.c +2 -1
-	printk(KERN_INFO "(%d early reservations) ==> bootmem\n", count);
+	printk(KERN_INFO "(%d early reservations) ==> bootmem [%010llx - %010llx]\n",
+			 count, start, end);

applied to tip/x86/cleanups, thanks Yinghai.

Ingo