summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/crash.c
diff options
context:
space:
mode:
authorJay Lan <jlan@sgi.com>2007-03-20 21:47:47 +0100
committerTony Luck <tony.luck@intel.com>2007-03-20 21:47:47 +0100
commit60b548dfe4ad178dbf0fa8c2a50e36aaa42d603a (patch)
treef94dede14a8473ebe5174dea17576b66185541fa /arch/ia64/kernel/crash.c
parent[IA64] Fix get_model_name() for mixed cpu type systems (diff)
downloadlinux-60b548dfe4ad178dbf0fa8c2a50e36aaa42d603a.tar.xz
linux-60b548dfe4ad178dbf0fa8c2a50e36aaa42d603a.zip
[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/ia64/kernel/crash.c')
-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 7d1bbb4403ba..80a94e707827 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;