X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fs390%2Finclude%2Fasm%2Fmmu_context.h;h=c6a088c91aee36c97c1adebc9ad5063233471f55;hb=221bb8a46e230b9824204ae86537183d9991ff2a;hp=f77c638bf3974063a941b5d9b8e537a2c7cfb1a4;hpb=f7b32e4c021fd788f13f6785e17efbc3eb05b351;p=cascardo%2Flinux.git diff --git a/arch/s390/include/asm/mmu_context.h b/arch/s390/include/asm/mmu_context.h index f77c638bf397..c6a088c91aee 100644 --- a/arch/s390/include/asm/mmu_context.h +++ b/arch/s390/include/asm/mmu_context.h @@ -15,8 +15,9 @@ static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm) { - spin_lock_init(&mm->context.list_lock); + spin_lock_init(&mm->context.pgtable_lock); INIT_LIST_HEAD(&mm->context.pgtable_list); + spin_lock_init(&mm->context.gmap_lock); INIT_LIST_HEAD(&mm->context.gmap_list); cpumask_clear(&mm->context.cpu_attach_mask); atomic_set(&mm->context.flush_count, 0);