]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] Fix typo/thinko in crash.c
authorJay Lan <jlan@sgi.com>
Tue, 20 Mar 2007 20:47:47 +0000 (13:47 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 20 Mar 2007 20:47:47 +0000 (13:47 -0700)
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>
arch/ia64/kernel/crash.c

index 7d1bbb4403ba435e073ed0854efcb897f15d4f62..80a94e7078278dc1f244334f63a3a8368bfed789 100644 (file)
@@ -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;