[POWERPC] print backtrace when entering xmon
authorOlaf Hering <olaf@aepfle.de>
Fri, 8 Sep 2006 14:29:21 +0000 (16:29 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 13 Sep 2006 08:39:53 +0000 (18:39 +1000)
commit26c8af5f01dfb91f709cc2ba07fb650949aae13e
treedbaa11641da7348bb2fbde3c75429449c7ca4104
parent87fd7724d4022913ae8dbee3ed55cd04f2c316a6
[POWERPC] print backtrace when entering xmon

xmon does not print a backtrace per default. This is bad on systems with
USB keyboard, the most needed info about the crash is lost.
print a backtrace during the very first xmon entry.

Booting with xmon=nobt disables the autobacktrace functionality.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig.debug
arch/powerpc/kernel/setup-common.c
arch/powerpc/xmon/xmon.c