Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60b548df authored by Jay Lan's avatar Jay Lan Committed by Tony Luck
Browse files

[IA64] Fix typo/thinko in crash.c



Clearly should be checking for "val == DIE_INIT_SLAVE_ENTER".

Signed-off-by: default avatarJay Lan <jlan@sgi.com>
Acked-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent c5e83e3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;