summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/ppc64/kernel/head.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/head.S b/arch/ppc64/kernel/head.S
index ee1cac280e26..28886820dfae 100644
--- a/arch/ppc64/kernel/head.S
+++ b/arch/ppc64/kernel/head.S
@@ -126,6 +126,10 @@ __secondary_hold_acknowledge:
* All of it must fit below the first exception vector at 0x100.
*/
_GLOBAL(__secondary_hold)
+ mfmsr r24
+ ori r24,r24,MSR_RI
+ mtmsrd r24 /* RI on */
+
/* Grab our linux cpu number */
mr r24,r3
@@ -1667,6 +1671,10 @@ _STATIC(start_here_pSeries)
bl .reloc_offset
mr r26,r3
+ mfmsr r6
+ ori r6,r6,MSR_RI
+ mtmsrd r6 /* RI on */
+
/* setup the systemcfg pointer which is needed by *tab_initialize */
LOADADDR(r6,systemcfg)
sub r6,r6,r26 /* addr of the variable systemcfg */