summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/mmu.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-08-13 13:40:10 +0300
committerTony Lindgren <tony@atomide.com>2019-08-13 13:40:10 +0300
commit58e16d792a6a8c6b750f637a4649967fcac853dc (patch)
tree778a940499ecfc6fb2d811dbfef735913d30618a /arch/x86/include/asm/mmu.h
parentfa8397e45c64e60c80373bc19ee56e42a6bed9b6 (diff)
parenta304f483b6b00d42bde41c45ca52c670945348e2 (diff)
downloadlinux-58e16d792a6a8c6b750f637a4649967fcac853dc.tar.xz
Merge branch 'ti-sysc-fixes' into fixes
Diffstat (limited to 'arch/x86/include/asm/mmu.h')
-rw-r--r--arch/x86/include/asm/mmu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mmu.h b/arch/x86/include/asm/mmu.h
index 5ff3e8af2c20..e78c7db87801 100644
--- a/arch/x86/include/asm/mmu.h
+++ b/arch/x86/include/asm/mmu.h
@@ -59,6 +59,7 @@ typedef struct {
#define INIT_MM_CONTEXT(mm) \
.context = { \
.ctx_id = 1, \
+ .lock = __MUTEX_INITIALIZER(mm.context.lock), \
}
void leave_mm(int cpu);