|
@@ -62,6 +62,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
|
|
|
{
|
|
|
int cpu = smp_processor_id();
|
|
|
|
|
|
+ S390_lowcore.user_asce = next->context.asce_bits | __pa(next->pgd);
|
|
|
if (prev == next)
|
|
|
return;
|
|
|
if (MACHINE_HAS_TLB_LC)
|
|
@@ -73,7 +74,6 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
|
|
|
atomic_dec(&prev->context.attach_count);
|
|
|
if (MACHINE_HAS_TLB_LC)
|
|
|
cpumask_clear_cpu(cpu, &prev->context.cpu_attach_mask);
|
|
|
- S390_lowcore.user_asce = next->context.asce_bits | __pa(next->pgd);
|
|
|
}
|
|
|
|
|
|
#define finish_arch_post_lock_switch finish_arch_post_lock_switch
|