aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-04-14 22:17:07 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2015-05-11 05:55:54 -0400
commit5c0aebf6e101e9ea6ddea7aaba13582c89206333 (patch)
tree881a0e89f4a4b3f9f184373bc8e180d7b9cfa2ec /arch/powerpc/kernel/setup_64.c
parent5af7a6f3e2d015dcaaeffa48c6d47238415cbe66 (diff)
powerpc: Show utsname->machine in boot-up banner
Currently we print "Starting Linux PPC64" at boot. But we don't mention anywhere whether the kernel is big or little endian. If we print the utsname->machine value instead we get either "ppc64" or "ppc64le" which is much more informative, eg: Starting Linux ppc64le #1 SMP Wed Apr 15 12:12:20 AEST 2015 Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index c69671c03c3b..9fe3dcdbfca7 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -523,7 +523,8 @@ void __init setup_system(void)
523 smp_release_cpus(); 523 smp_release_cpus();
524#endif 524#endif
525 525
526 pr_info("Starting Linux PPC64 %s\n", init_utsname()->version); 526 pr_info("Starting Linux %s %s\n", init_utsname()->machine,
527 init_utsname()->version);
527 528
528 pr_info("-----------------------------------------------------\n"); 529 pr_info("-----------------------------------------------------\n");
529 pr_info("ppc64_pft_size = 0x%llx\n", ppc64_pft_size); 530 pr_info("ppc64_pft_size = 0x%llx\n", ppc64_pft_size);