powerpc: Show PAGE_SIZE in __die() output
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jan 2019 11:57:36 +0000 (22:57 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Jan 2019 00:17:09 +0000 (11:17 +1100)
commit184051396b9d75a2a9ae64f134f3ee9d7250801c
treeae9cdafead76fd3d5d8211bcf1fde424318debdf
parent782274434d6f2e8aa8c573cb24fef94a164f2ce0
powerpc: Show PAGE_SIZE in __die() output

The page size the kernel is built with is useful info when debugging a
crash, so add it to the output in __die().

Result looks like eg:

  kernel BUG at drivers/misc/lkdtm/bugs.c:63!
  Oops: Exception in kernel mode, sig: 5 [#1]
  LE PAGE_SIZE=64K SMP NR_CPUS=2048 NUMA pSeries
  Modules linked in: vmx_crypto kvm binfmt_misc ip_tables

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c