kdb,debug_core: Allow the debug core to receive a panic notification
authorJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:28 +0000 (21:04 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:28 +0000 (21:04 -0500)
commit4402c153cb9c549cd21d6007ef0dfac50c8d148d
tree2a2589958e3d5243b265ba2a9fb6f5f2ecb33b57
parent5b778dadcde0d93eb20a67bad8105b6ed8d7810f
kdb,debug_core: Allow the debug core to receive a panic notification

It is highly desirable to trap into kdb on panic.  The debug core will
attempt to register as the first in line for the panic notifier.

CC: Ingo Molnar <mingo@elte.hu>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/debug_core.c