x86: fix memtest print out
authorYinghai Lu <yhlu.kernel.send@gmail.com>
Wed, 16 Apr 2008 06:17:42 +0000 (23:17 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:21 +0000 (17:41 +0200)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c

index ae225c3ae9a8990e974e425fc680ddd0b592814b..210243e94d841122a82143ff45cc7b8294ac71a7 100644 (file)
@@ -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");
        }