提交 dcfe9465 编写于 作者: Y Yinghai Lu 提交者: Ingo Molnar

x86: fix memtest print out

Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 c64df707
...@@ -473,7 +473,7 @@ static void __init memtest(unsigned long start_phys, unsigned long size, ...@@ -473,7 +473,7 @@ static void __init memtest(unsigned long start_phys, unsigned long size,
last_bad += incr; last_bad += incr;
} else { } else {
if (start_bad) { if (start_bad) {
printk(KERN_INFO " %016lxx bad mem addr %016lx - %016lx reserved\n", printk(KERN_CONT "\n %016lx bad mem addr %016lx - %016lx reserved",
val, start_bad, last_bad + incr); val, start_bad, last_bad + incr);
reserve_early(start_bad, last_bad - start_bad, "BAD RAM"); reserve_early(start_bad, last_bad - start_bad, "BAD RAM");
} }
...@@ -482,7 +482,7 @@ static void __init memtest(unsigned long start_phys, unsigned long size, ...@@ -482,7 +482,7 @@ static void __init memtest(unsigned long start_phys, unsigned long size,
} }
} }
if (start_bad) { if (start_bad) {
printk(KERN_INFO " %016lx bad mem addr %016lx - %016lx reserved\n", printk(KERN_CONT "\n %016lx bad mem addr %016lx - %016lx reserved",
val, start_bad, last_bad + incr); val, start_bad, last_bad + incr);
reserve_early(start_bad, last_bad - start_bad, "BAD RAM"); reserve_early(start_bad, last_bad - start_bad, "BAD RAM");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册