]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry/64: Remove unneeded kernel CR3 switching
authorLai Jiangshan <laijs@linux.alibaba.com>
Sun, 19 Apr 2020 14:40:47 +0000 (14:40 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:14:31 +0000 (15:14 +0200)
commit75902f6dc425332869961371bc2878099a1e2600
tree637a95b4386d03974a79d7e8b75324ca22232f0d
parent91c662309051be3b109c8f31e048617d9c81a7a1
x86/entry/64: Remove unneeded kernel CR3 switching

When native_load_gs_index() fails on .Lgs_change, CR3 must be kernel
CR3. No need to switch it.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200419144049.1906-2-laijs@linux.alibaba.com
arch/x86/entry/entry_64.S