From: Jay Lan Date: Tue, 20 Mar 2007 20:47:47 +0000 (-0700) Subject: [IA64] Fix typo/thinko in crash.c X-Git-Tag: v2.6.21-rc5~48^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=60b548dfe4ad178dbf0fa8c2a50e36aaa42d603a;p=linux-2.6-omap-h63xx.git [IA64] Fix typo/thinko in crash.c Clearly should be checking for "val == DIE_INIT_SLAVE_ENTER". Signed-off-by: Jay Lan Acked-by: Simon Horman Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c index 7d1bbb4403b..80a94e70782 100644 --- a/arch/ia64/kernel/crash.c +++ b/arch/ia64/kernel/crash.c @@ -164,7 +164,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data) nd = (struct ia64_mca_notify_die *)args->err; /* Reason code 1 means machine check rendezous*/ - if ((val == DIE_INIT_MONARCH_ENTER || DIE_INIT_SLAVE_ENTER) && + if ((val == DIE_INIT_MONARCH_ENTER || val == DIE_INIT_SLAVE_ENTER) && nd->sos->rv_rc == 1) return NOTIFY_DONE;