diff options
Diffstat (limited to 'arch/x86_64/syscall_setup.S')
-rw-r--r-- | arch/x86_64/syscall_setup.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/syscall_setup.S b/arch/x86_64/syscall_setup.S index 972e345..4f5c6f0 100644 --- a/arch/x86_64/syscall_setup.S +++ b/arch/x86_64/syscall_setup.S @@ -6,12 +6,11 @@ syscall_entry: swapgs movq %rsp, %rax - movq (_kernel_task_bp), %rsp + movq _kernel_task_bp, %rsp pushq %rax pushq %rbp pushq %rcx pushq %r11 - movq %rsp, %rbp call syscall_handler popq %r11 popq %rcx |