powerpc/64s/exception: Fix machine check early corrupting AMR
[sfrench/cifs-2.6.git] / arch / powerpc / kernel / exceptions-64s.S
index 6b86055e5251f26b030dbb1c656bc09a8e5fb48e..73ba246ca11d2b12d6abe6fe28449190160e00de 100644 (file)
@@ -315,7 +315,7 @@ TRAMP_REAL_BEGIN(machine_check_common_early)
        mfspr   r11,SPRN_DSISR          /* Save DSISR */
        std     r11,_DSISR(r1)
        std     r9,_CCR(r1)             /* Save CR in stackframe */
-       kuap_save_amr_and_lock r9, r10, cr1
+       /* We don't touch AMR here, we never go to virtual mode */
        /* Save r9 through r13 from EXMC save area to stack frame. */
        EXCEPTION_PROLOG_COMMON_2(PACA_EXMC)
        mfmsr   r11                     /* get MSR value */