panic: print out stacktrace if DEBUG_BUGVERBOSE
authorIngo Molnar <mingo@elte.hu>
Thu, 14 Feb 2008 08:07:01 +0000 (09:07 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 26 May 2008 14:15:32 +0000 (16:15 +0200)
commit5cb273013e182a35e7db614d3e20a144cba71e53
treef027f389e3d9d2ab9750fdc81399f6c5df385fb2
parent517a92c4e19fcea815332d3155e9fb7723251274
panic: print out stacktrace if DEBUG_BUGVERBOSE

if CONFIG_DEBUG_BUGVERBOSE is set then the user most definitely wanted
to see as much information about kernel crashes as possible - so give
them at least a stack dump.

this is particularly useful for stackprotector related panics, where
the stacktrace can give us the exact location of the (attempted)
attack.

Pointed out by pageexec@freemail.hu in the stackprotector breakage
threads.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/panic.c