]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/oops: Print the kernel's endian in the oops
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Aug 2017 13:56:21 +0000 (23:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 28 Aug 2017 12:09:58 +0000 (22:09 +1000)
commit8dab18be2def60323bab52399e87893ece4d4a07
treed48181634297d784d34720235fdaa9157170a58e
parent68d8dc49c694e12e9abccb4d1a8a5eaa92cbe6b1
powerpc/oops: Print the kernel's endian in the oops

Although the MSR tells you what endian you're in it's possible that
isn't the same endian the kernel was built for, and if that happens
you're usually having a very bad day. So print a marker to make
it 100% clear which endian the kernel was built for.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c