diff options
author | Borislav Petkov <bp@alien8.de> | 2011-05-31 16:21:52 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-06-03 17:38:51 -0400 |
commit | cac0e0a78f722abd85b7f8d614ee0820f7672f58 (patch) | |
tree | c76b60de050278abbc9efec9cd3dba57530153c3 /arch/x86/kernel/entry_64.S | |
parent | a268fcfaa6ab2ef740fda5ecf947aca45ccd535d (diff) |
x86, asm: Flip SAVE_ARGS arguments logic
This saves us the else part of the conditional statement in the macro.
No functionality change.
Signed-off-by: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/1306873314-32523-3-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 8a445a0c989e..e5ece6b6e716 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -473,7 +473,7 @@ ENTRY(system_call_after_swapgs) | |||
473 | * and short: | 473 | * and short: |
474 | */ | 474 | */ |
475 | ENABLE_INTERRUPTS(CLBR_NONE) | 475 | ENABLE_INTERRUPTS(CLBR_NONE) |
476 | SAVE_ARGS 8,1 | 476 | SAVE_ARGS 8,0 |
477 | movq %rax,ORIG_RAX-ARGOFFSET(%rsp) | 477 | movq %rax,ORIG_RAX-ARGOFFSET(%rsp) |
478 | movq %rcx,RIP-ARGOFFSET(%rsp) | 478 | movq %rcx,RIP-ARGOFFSET(%rsp) |
479 | CFI_REL_OFFSET rip,RIP-ARGOFFSET | 479 | CFI_REL_OFFSET rip,RIP-ARGOFFSET |