s390/uaccess: rework uaccess code - fix locking issues
[cascardo/linux.git] / arch / s390 / include / asm / switch_to.h
index 29c81f8..e759181 100644 (file)
@@ -132,6 +132,7 @@ static inline void restore_access_regs(unsigned int *acrs)
                update_cr_regs(next);                                   \
        }                                                               \
        prev = __switch_to(prev,next);                                  \
+       update_primary_asce(current);                                   \
 } while (0)
 
 #define finish_arch_switch(prev) do {                                       \