Skip to content

Commit 5f1f2b3

Browse files
yhluIngo Molnar
authored andcommitted
x86: improve debug printout: add target bootmem range in early_res_to_bootmem()
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent e5849e7 commit 5f1f2b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/x86/kernel/e820.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,8 @@ void __init early_res_to_bootmem(u64 start, u64 end)
877877
for (i = 0; i < MAX_EARLY_RES && early_res[i].end; i++)
878878
count++;
879879

880-
printk(KERN_INFO "(%d early reservations) ==> bootmem\n", count);
880+
printk(KERN_INFO "(%d early reservations) ==> bootmem [%010llx - %010llx]\n",
881+
count, start, end);
881882
for (i = 0; i < count; i++) {
882883
struct early_res *r = &early_res[i];
883884
printk(KERN_INFO " #%d [%010llx - %010llx] %16s", i,

0 commit comments

Comments
 (0)