]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/entry/fred: Push __KERNEL_CS directly
authorXin Li (Intel) <xin@zytor.com>
Fri, 22 Aug 2025 07:16:44 +0000 (00:16 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 22 Aug 2025 11:12:50 +0000 (13:12 +0200)
commit5be502174bf0f5d0aafaab57fa4512723d6d2973
tree189265eb525d4ec9044949dc12c6995dce05784d
parentae7c0996c0e0f7d3bd3665020e1fbb4d99b7373e
x86/entry/fred: Push __KERNEL_CS directly

Push __KERNEL_CS directly, rather than moving it into RAX and then
pushing RAX.

No functional changes.

Suggested-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250822071644.1405268-1-xin@zytor.com
arch/x86/entry/entry_64_fred.S