Commit 4fcc545a authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: make early_res_to_bootmem print out less 80 width chars

Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent dc8e8120
...@@ -841,7 +841,7 @@ void __init early_res_to_bootmem(u64 start, u64 end) ...@@ -841,7 +841,7 @@ void __init early_res_to_bootmem(u64 start, u64 end)
printk(KERN_INFO "(%d early reservations) ==> bootmem\n", count); printk(KERN_INFO "(%d early reservations) ==> bootmem\n", count);
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,
r->start, r->end, r->name); r->start, r->end, r->name);
final_start = max(start, r->start); final_start = max(start, r->start);
final_end = min(end, r->end); final_end = min(end, r->end);
...@@ -849,7 +849,7 @@ void __init early_res_to_bootmem(u64 start, u64 end) ...@@ -849,7 +849,7 @@ void __init early_res_to_bootmem(u64 start, u64 end)
printk(KERN_CONT "\n"); printk(KERN_CONT "\n");
continue; continue;
} }
printk(KERN_CONT " ===> [ %010llx - %010llx ]\n", printk(KERN_CONT " ==> [%010llx - %010llx]\n",
final_start, final_end); final_start, final_end);
reserve_bootmem_generic(final_start, final_end - final_start, reserve_bootmem_generic(final_start, final_end - final_start,
BOOTMEM_DEFAULT); BOOTMEM_DEFAULT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment