diff options
author | Borislav Petkov <bp@alien8.de> | 2011-05-31 22:21:52 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-06-03 14:38:51 -0700 |
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 8a445a0c989..e5ece6b6e71 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S @@ -473,7 +473,7 @@ ENTRY(system_call_after_swapgs) * and short: */ ENABLE_INTERRUPTS(CLBR_NONE) - SAVE_ARGS 8,1 + SAVE_ARGS 8,0 movq %rax,ORIG_RAX-ARGOFFSET(%rsp) movq %rcx,RIP-ARGOFFSET(%rsp) CFI_REL_OFFSET rip,RIP-ARGOFFSET |