[PATCH] powerpc64: Fix loading of modules without a .toc section
[deliverable/linux.git] / arch / powerpc / kernel / entry_64.S
index 1060155d84c3f3aa035fad42097f49ca37d7c100..19ad5c6b18185309492e30640d2927e7998a50d8 100644 (file)
@@ -617,6 +617,12 @@ _GLOBAL(enter_rtas)
        mfsrr1  r10
        std     r10,_SRR1(r1)
 
+       /* Temporary workaround to clear CR until RTAS can be modified to
+        * ignore all bits.
+        */
+       li      r0,0
+       mtcr    r0
+
        /* There is no way it is acceptable to get here with interrupts enabled,
         * check it with the asm equivalent of WARN_ON
         */
This page took 0.039896 seconds and 5 git commands to generate.