forked from luck/tmp_suning_uos_patched
[IA64] Fix typo/thinko in crash.c
Clearly should be checking for "val == DIE_INIT_SLAVE_ENTER". Signed-off-by: Jay Lan <jlan@sgi.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
c5e83e3f42
commit
60b548dfe4
@ -164,7 +164,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data)
|
|||||||
|
|
||||||
nd = (struct ia64_mca_notify_die *)args->err;
|
nd = (struct ia64_mca_notify_die *)args->err;
|
||||||
/* Reason code 1 means machine check rendezous*/
|
/* 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)
|
nd->sos->rv_rc == 1)
|
||||||
return NOTIFY_DONE;
|
return NOTIFY_DONE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user