summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/mmu_context.h
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.vnet.ibm.com>2017-04-20 10:03:46 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-04-20 13:33:09 +0200
commitaa824e1340e79d26976c9f942add29edf612a67b (patch)
tree5f48d1b8ad58b86134595b5f74d428458ffcd7b2 /arch/s390/include/asm/mmu_context.h
parent2d42f9477320befd33846c4083cab898998cdee5 (diff)
downloadlinux-stable-aa824e1340e79d26976c9f942add29edf612a67b.tar.gz
linux-stable-aa824e1340e79d26976c9f942add29edf612a67b.tar.bz2
linux-stable-aa824e1340e79d26976c9f942add29edf612a67b.zip
s390/kvm: Add use_cmma field to mm_context_t
Add use_cmma field to mm_context_t, like we do for storage keys. Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> Acked-by: Janosch Frank <frankja@de.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/mmu_context.h')
-rw-r--r--arch/s390/include/asm/mmu_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/mmu_context.h b/arch/s390/include/asm/mmu_context.h
index 6e31d87fb669..c119d564d8f2 100644
--- a/arch/s390/include/asm/mmu_context.h
+++ b/arch/s390/include/asm/mmu_context.h
@@ -28,6 +28,7 @@ static inline int init_new_context(struct task_struct *tsk,
mm->context.alloc_pgste = page_table_allocate_pgste;
mm->context.has_pgste = 0;
mm->context.use_skey = 0;
+ mm->context.use_cmma = 0;
#endif
switch (mm->context.asce_limit) {
case 1UL << 42: