powerpc: Allow the max stack trace depth to be configured
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 20 Nov 2008 03:24:07 +0000 (03:24 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Dec 2008 09:46:35 +0000 (20:46 +1100)
commitc4d04be11f99cc9ce4e3801a5da235727db704a9
treeeb5e132a765e0b23086f2a6e5ac88ba7f475aedd
parent0186f47e703fb7aa14b54459d642ef5374b3a685
powerpc: Allow the max stack trace depth to be configured

On my screen, when something crashes, I only have space for maybe 16
functions of the stack trace before the information above it scrolls
off the screen.  It's easy to hack the kernel to print out only that
much, but it's harder to remember to do it.  This introduces a config
option for it so that I can keep the setting in my config.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig.debug
arch/powerpc/kernel/process.c