Commit 349f2cf4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: set MSR_RI in iseries exception code

From: Anton Blanchard <anton@samba.org>

We need to set MSR_RI in iseries exception prolog.
parent 554a2bbe
...@@ -265,6 +265,9 @@ _GLOBAL(__secondary_hold) ...@@ -265,6 +265,9 @@ _GLOBAL(__secondary_hold)
mfspr r23,SPRG2; /* Save r20 in exc. frame */ \ mfspr r23,SPRG2; /* Save r20 in exc. frame */ \
std r23,EX_R20(r21); \ std r23,EX_R20(r21); \
\ \
mfmsr r22; /* set MSR.RI */ \
ori r22,r22,MSR_RI; \
mtmsrd r22,1; \
mfcr r23; /* save CR in r23 */ mfcr r23; /* save CR in r23 */
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment