From dcfe946520719943fabd3e5ed13813956e48e37c Mon Sep 17 00:00:00 2001
From: Yinghai Lu <yhlu.kernel.send@gmail.com>
Date: Tue, 15 Apr 2008 23:17:42 -0700
Subject: [PATCH] x86: fix memtest print out

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/mm/init_64.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index ae225c3ae9a8..210243e94d84 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -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");
 				}
@@ -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");
 	}
-- 
GitLab