x86: Use pr_warn instead of pr_warning
As said in commit f2c2cbcc35
("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.
Link: http://lkml.kernel.org/r/20191018031850.48498-7-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Robert Richter <rric@kernel.org>
Cc: Darren Hart <dvhart@infradead.org>
Cc: Andy Shevchenko <andy@infradead.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
This commit is contained in:
@@ -364,12 +364,12 @@ retry:
|
||||
/* Force it to 0 if random warps brought us here */
|
||||
atomic_set(&test_runs, 0);
|
||||
|
||||
pr_warning("TSC synchronization [CPU#%d -> CPU#%d]:\n",
|
||||
pr_warn("TSC synchronization [CPU#%d -> CPU#%d]:\n",
|
||||
smp_processor_id(), cpu);
|
||||
pr_warning("Measured %Ld cycles TSC warp between CPUs, "
|
||||
"turning off TSC clock.\n", max_warp);
|
||||
pr_warn("Measured %Ld cycles TSC warp between CPUs, "
|
||||
"turning off TSC clock.\n", max_warp);
|
||||
if (random_warps)
|
||||
pr_warning("TSC warped randomly between CPUs\n");
|
||||
pr_warn("TSC warped randomly between CPUs\n");
|
||||
mark_tsc_unstable("check_tsc_sync_source failed");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user