Skip to content

Commit

Permalink
x86: fix memtest print out
Browse files Browse the repository at this point in the history
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Apr 17, 2008
1 parent c64df70 commit dcfe946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ static void __init memtest(unsigned long start_phys, unsigned long size,
last_bad += incr;
} else {
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);
reserve_early(start_bad, last_bad - start_bad, "BAD RAM");
}
Expand All @@ -482,7 +482,7 @@ static void __init memtest(unsigned long start_phys, unsigned long size,
}
}
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);
reserve_early(start_bad, last_bad - start_bad, "BAD RAM");
}
Expand Down

0 comments on commit dcfe946

Please sign in to comment.