diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2019-07-01 19:33:54 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-07-09 13:57:27 +0200 |
commit | 39ca5fb4920a96eeab478be2cfa6a2369fef6b02 (patch) | |
tree | 0592e2fb936d42a40835340099b9fa81d54577ff /arch/x86/kernel/vmlinux.lds.S | |
parent | 222a21d29521d144f3dd7a0bc4d4020e448f0126 (diff) | |
download | linux-stable-39ca5fb4920a96eeab478be2cfa6a2369fef6b02.tar.gz linux-stable-39ca5fb4920a96eeab478be2cfa6a2369fef6b02.tar.bz2 linux-stable-39ca5fb4920a96eeab478be2cfa6a2369fef6b02.zip |
x86/ldt: Initialize the context lock for init_mm
The mutex mm->context->lock for init_mm is not initialized for init_mm.
This wasn't a problem because it remained unused. This changed however
since commit
4fc19708b165c ("x86/alternatives: Initialize temporary mm for patching")
Initialize the mutex for init_mm.
Fixes: 4fc19708b165c ("x86/alternatives: Initialize temporary mm for patching")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Nadav Amit <namit@vmware.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20190701173354.2pe62hhliok2afea@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions