summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJay Lan <jlan@sgi.com>2007-03-20 13:47:47 -0700
committerTony Luck <tony.luck@intel.com>2007-03-20 13:47:47 -0700
commit60b548dfe4ad178dbf0fa8c2a50e36aaa42d603a (patch)
treef94dede14a8473ebe5174dea17576b66185541fa /arch
parentc5e83e3f42938c0a84047e125edb98d6513f985b (diff)
downloadop-kernel-dev-60b548dfe4ad178dbf0fa8c2a50e36aaa42d603a.zip
op-kernel-dev-60b548dfe4ad178dbf0fa8c2a50e36aaa42d603a.tar.gz
[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>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kernel/crash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c
index 7d1bbb4..80a94e7 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;
OpenPOWER on IntegriCloud