summaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/mca_asm.S
diff options
context:
space:
mode:
authorKeith Owens <kaos@sgi.com>2006-01-24 12:31:26 +1100
committerTony Luck <tony.luck@intel.com>2006-01-24 11:50:07 -0800
commit2a792058c3aaf5fb806e09a456e25b9f4f748dd1 (patch)
tree369ebaa09cc20329da0abe67e8df3374b2b8bb83 /arch/ia64/kernel/mca_asm.S
parent3ee68c4af3fd7228c1be63254b9f884614f9ebb2 (diff)
[IA64] Set the correct default OS status in the MCA handler
sos->os_status is set to a default value of IA64_MCA_COLD_BOOT for an MCA, but then is incorrectly overwritten with IA64_MCA_SAME_CONTEXT (0). This makes SAL think that all MCAs have been recovered. Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/mca_asm.S')
-rw-r--r--arch/ia64/kernel/mca_asm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/mca_asm.S b/arch/ia64/kernel/mca_asm.S
index 403a80a58c13..60a464bfd9e2 100644
--- a/arch/ia64/kernel/mca_asm.S
+++ b/arch/ia64/kernel/mca_asm.S
@@ -512,7 +512,7 @@ ia64_state_save:
st8 [temp1]=r12 // os_status, default is cold boot
mov r6=IA64_MCA_SAME_CONTEXT
;;
- st8 [temp1]=r6 // context, default is same context
+ st8 [temp2]=r6 // context, default is same context
// Save the pt_regs data that is not in minstate. The previous code
// left regs at sos.