提交 4fb69afa 编写于 作者: M Matt Redfearn 提交者: James Hogan

MIPS: sync-r4k: Fix KERN_CONT fallout

Since commit 4bcc595c ("printk: reinstate KERN_CONT for printing
continuation lines") the output of counter synchornisation has been
split across lines:
[ 0.665181] Synchronize counters for CPU 1:
[ 0.678578] done.

Fix this by using pr_cont, and replace printk with pr_info.
Signed-off-by: NMatt Redfearn <matt.redfearn@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15195/Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
上级 c25f8064
...@@ -29,7 +29,7 @@ void synchronise_count_master(int cpu) ...@@ -29,7 +29,7 @@ void synchronise_count_master(int cpu)
int i; int i;
unsigned long flags; unsigned long flags;
printk(KERN_INFO "Synchronize counters for CPU %u: ", cpu); pr_info("Synchronize counters for CPU %u: ", cpu);
local_irq_save(flags); local_irq_save(flags);
...@@ -83,7 +83,7 @@ void synchronise_count_master(int cpu) ...@@ -83,7 +83,7 @@ void synchronise_count_master(int cpu)
* count registers were almost certainly out of sync * count registers were almost certainly out of sync
* so no point in alarming people * so no point in alarming people
*/ */
printk("done.\n"); pr_cont("done.\n");
} }
void synchronise_count_slave(int cpu) void synchronise_count_slave(int cpu)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册