Skip to content
Commit c7589070 authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Thomas Gleixner
Browse files

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: default avatarLai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200419144049.1906-2-laijs@linux.alibaba.com
parent 26fa1263
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment