Skip to content

Commit

Permalink
[IA64] Set the correct default OS status in the MCA handler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Keith Owens authored and Tony Luck committed Jan 24, 2006
1 parent 3ee68c4 commit 2a79205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/mca_asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2a79205

Please sign in to comment.