diff options
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index b1dac12dc5e6..2c6706167c8d 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -342,15 +342,15 @@ ENDPROC(native_usergs_sysret64) | |||
342 | .macro SAVE_ARGS_IRQ | 342 | .macro SAVE_ARGS_IRQ |
343 | cld | 343 | cld |
344 | /* start from rbp in pt_regs and jump over */ | 344 | /* start from rbp in pt_regs and jump over */ |
345 | movq_cfi rdi, RDI-RBP | 345 | movq_cfi rdi, (RDI-RBP) |
346 | movq_cfi rsi, RSI-RBP | 346 | movq_cfi rsi, (RSI-RBP) |
347 | movq_cfi rdx, RDX-RBP | 347 | movq_cfi rdx, (RDX-RBP) |
348 | movq_cfi rcx, RCX-RBP | 348 | movq_cfi rcx, (RCX-RBP) |
349 | movq_cfi rax, RAX-RBP | 349 | movq_cfi rax, (RAX-RBP) |
350 | movq_cfi r8, R8-RBP | 350 | movq_cfi r8, (R8-RBP) |
351 | movq_cfi r9, R9-RBP | 351 | movq_cfi r9, (R9-RBP) |
352 | movq_cfi r10, R10-RBP | 352 | movq_cfi r10, (R10-RBP) |
353 | movq_cfi r11, R11-RBP | 353 | movq_cfi r11, (R11-RBP) |
354 | 354 | ||
355 | /* Save rbp so that we can unwind from get_irq_regs() */ | 355 | /* Save rbp so that we can unwind from get_irq_regs() */ |
356 | movq_cfi rbp, 0 | 356 | movq_cfi rbp, 0 |
@@ -384,7 +384,7 @@ ENDPROC(native_usergs_sysret64) | |||
384 | .endm | 384 | .endm |
385 | 385 | ||
386 | ENTRY(save_rest) | 386 | ENTRY(save_rest) |
387 | PARTIAL_FRAME 1 REST_SKIP+8 | 387 | PARTIAL_FRAME 1 (REST_SKIP+8) |
388 | movq 5*8+16(%rsp), %r11 /* save return address */ | 388 | movq 5*8+16(%rsp), %r11 /* save return address */ |
389 | movq_cfi rbx, RBX+16 | 389 | movq_cfi rbx, RBX+16 |
390 | movq_cfi rbp, RBP+16 | 390 | movq_cfi rbp, RBP+16 |