summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_64.S
diff options
context:
space:
mode:
authorBorislav Petkov <bp@alien8.de>2011-05-31 22:21:52 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2011-06-03 23:38:51 +0200
commitcac0e0a78f722abd85b7f8d614ee0820f7672f58 (patch)
treec76b60de050278abbc9efec9cd3dba57530153c3 /arch/x86/kernel/entry_64.S
parentx86, asm: Thin down SAVE/RESTORE_* asm macros (diff)
downloadlinux-cac0e0a78f722abd85b7f8d614ee0820f7672f58.tar.xz
linux-cac0e0a78f722abd85b7f8d614ee0820f7672f58.zip
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.S2
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)
* 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