summaryrefslogtreecommitdiff
path: root/arch/x86/entry/entry_64_fred.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/entry/entry_64_fred.S')
-rw-r--r--arch/x86/entry/entry_64_fred.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/entry/entry_64_fred.S b/arch/x86/entry/entry_64_fred.S
index 907bd233c6c1..3c1511feadf7 100644
--- a/arch/x86/entry/entry_64_fred.S
+++ b/arch/x86/entry/entry_64_fred.S
@@ -97,8 +97,7 @@ SYM_FUNC_START(asm_fred_entry_from_kvm)
push %rdi /* fred_ss handed in by the caller */
push %rbp
pushf
- mov $__KERNEL_CS, %rax
- push %rax
+ push $__KERNEL_CS
/*
* Unlike the IDT event delivery, FRED _always_ pushes an error code