x86/cpu: Remove the printk format specifier in "CPU0: "
authorBorislav Petkov <bp@suse.de>
Mon, 24 Oct 2016 17:38:42 +0000 (19:38 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 25 Oct 2016 09:48:49 +0000 (11:48 +0200)
We're using a literal, move it into the string.

No functionality change.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20161024173844.23038-2-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/smpboot.c

index 42f5eb7b4f6c85251f4ab65d6de44268b6de06ea..e2e0e35e7fc417dc557b3844ab0da8de1a40f795 100644 (file)
@@ -1331,7 +1331,7 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus)
        default_setup_apic_routing();
        cpu0_logical_apicid = apic_bsp_setup(false);
 
-       pr_info("CPU%d: ", 0);
+       pr_info("CPU0: ");
        print_cpu_info(&cpu_data(0));
 
        if (is_uv_system())