summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/sev_verify_cbit.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/sev_verify_cbit.S')
-rw-r--r--arch/x86/kernel/sev_verify_cbit.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/sev_verify_cbit.S b/arch/x86/kernel/sev_verify_cbit.S
index 3355e27c69eb..1ab65f6c6ae7 100644
--- a/arch/x86/kernel/sev_verify_cbit.S
+++ b/arch/x86/kernel/sev_verify_cbit.S
@@ -77,7 +77,7 @@ SYM_FUNC_START(sev_verify_cbit)
* The check failed, prevent any forward progress to prevent ROP
* attacks, invalidate the stack and go into a hlt loop.
*/
- xorq %rsp, %rsp
+ xorl %esp, %esp
subq $0x1000, %rsp
2: hlt
jmp 2b