]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Show utsname->machine in boot-up banner
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Apr 2015 02:17:07 +0000 (12:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2015 09:55:54 +0000 (19:55 +1000)
commitff937ac9cdf7579508659e1497004d1ebb82e276
tree881a0e89f4a4b3f9f184373bc8e180d7b9cfa2ec
parent3fde604642dbba821df566200b04fb2e1f602245
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>
arch/powerpc/kernel/setup_64.c