tile: fix bug in setting PT_FLAGS_DISABLE_IRQ on kernel entry
[cascardo/linux.git] / arch / tile / kernel / intvec_64.S
index a41c994..080b772 100644 (file)
@@ -658,7 +658,7 @@ intvec_\vecname:
         */
        mfspr   r32, SPR_EX_CONTEXT_K_1
        {
-        IS_KERNEL_EX1(r22, r22)
+        IS_KERNEL_EX1(r32, r32)
         PTREGS_PTR(r21, PTREGS_OFFSET_FLAGS)
        }
        beqzt   r32, 1f       /* zero if from user space */