]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64] kdump: add kdump_on_fatal_mca
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Tue, 8 Apr 2008 04:31:47 +0000 (13:31 +0900)
committerTony Luck <tony.luck@intel.com>
Wed, 9 Apr 2008 16:53:00 +0000 (09:53 -0700)
commitb0247a55f4cdd7a270e938aa39f9edb5b005a88c
tree04fc27486ff75dcebbabecbebb4082883eceeee3
parent7180c4c9e09888db0a188f729c96c6d7bd61fa83
[IA64] kdump: add kdump_on_fatal_mca

While it is convenient that we can invoke kdump by asserting INIT
via button on chassis etc., there are some situations that invoking
kdump on fatal MCA is not welcomed rather than rebooting fast without
dump.

This patch adds a new flag 'kdump_on_fatal_mca' that is independent
from 'kdump_on_init' currently available.  Adding this flag enable
us to turning on/off of kdump depend on the event, INIT and/or fatal
MCA.  Default for this flag is to take the dump.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/crash.c
arch/ia64/kernel/mca.c