powerpc/xmon: Use STACK_FRAME_OVERHEAD in xmon_show_stack()
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 9 Oct 2012 04:20:35 +0000 (04:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 01:59:55 +0000 (12:59 +1100)
commitc4de38093ed9fe94fa35c3adb14afc40bf05e1da
tree3c54609889d9cf87e5ea00c1374a787f07c7c89c
parentc5c5714d5093e677ec962921210eae14156f7179
powerpc/xmon: Use STACK_FRAME_OVERHEAD in xmon_show_stack()

We use STACK_FRAME_OVERHEAD in the exception vectors to establish
the exception frame, so it should be good enough to use here.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/xmon/xmon.c