aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/ioport.c
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2015-03-05 19:19:04 -0800
committerIngo Molnar <[email protected]>2015-03-06 08:32:58 +0100
commit9d0c914c60f4d3123debb653340dc1f7cf44939d (patch)
tree41cd00a5332551608057bd6a08d1724a081971f5 /arch/x86/kernel/ioport.c
parent75182b1632a89f12540baa1806a7c5c180db620c (diff)
x86/asm/entry/64/compat: Change the 32-bit sysenter code to use sp0
The ia32 sysenter code loaded the top of the kernel stack into rsp by loading kernel_stack and then adjusting it. It can be simplified to just read sp0 directly. This requires the addition of a new asm-offsets entry for sp0. Signed-off-by: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/88ff9006163d296a0665338585c36d9bfb85235d.1425611534.git.luto@amacapital.net Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/kernel/ioport.c')
0 files changed, 0 insertions, 0 deletions