powerpc/xmon: Relax frame size for clang
authorJoel Stanley <joel@jms.id.au>
Wed, 31 Oct 2018 01:09:34 +0000 (11:39 +1030)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 31 Oct 2018 09:39:25 +0000 (20:39 +1100)
commit9c87156cce5a63735d1218f0096a65c50a7a32aa
tree0b98d9ea807fbb8bfca7059c1a451eeba8c9a282
parenta0aebae07f211c05d64be886e56d352eea86350b
powerpc/xmon: Relax frame size for clang

When building with clang (8 trunk, 7.0 release) the frame size limit is
hit:

 arch/powerpc/xmon/xmon.c:452:12: warning: stack frame size of 2576
 bytes in function 'xmon_core' [-Wframe-larger-than=]

Some investigation by Naveen indicates this is due to clang saving the
addresses to printf format strings on the stack.

While this issue is investigated, bump up the frame size limit for xmon
when building with clang.

Link: https://github.com/ClangBuiltLinux/linux/issues/252
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/xmon/Makefile