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>
This commit is contained in:
@@ -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++)
|
for (i = 0; i < MAX_EARLY_RES && early_res[i].end; i++)
|
||||||
count++;
|
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++) {
|
for (i = 0; i < count; i++) {
|
||||||
struct early_res *r = &early_res[i];
|
struct early_res *r = &early_res[i];
|
||||||
printk(KERN_INFO " #%d [%010llx - %010llx] %16s", i,
|
printk(KERN_INFO " #%d [%010llx - %010llx] %16s", i,
|
||||||
|
Reference in New Issue
Block a user