diff options
author | Andy Lutomirski <[email protected]> | 2015-12-16 23:18:47 -0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-12-21 16:05:01 +0100 |
commit | 6a613ac6bc015f8ef75806d397d69dbac4a8d8c4 (patch) | |
tree | 72d8bef6afe5a30b3a1438bdc8d4f8ee42195539 | |
parent | d8c98a1d1488747625ad6044d423406e17e99b7a (diff) |
x86/entry: Fix some comments
Signed-off-by: Andy Lutomirski <[email protected]>
Reviewed-and-tested-by: Borislav Petkov <[email protected]>
Cc: <[email protected]>
Cc: Su Tao <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Mingwei Shi <[email protected]>
Cc: Linus Torvalds <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
-rw-r--r-- | arch/x86/entry/entry_32.S | 2 | ||||
-rw-r--r-- | arch/x86/entry/vdso/vdso32/system_call.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S index 0870825a9568..fcad8ac30a8e 100644 --- a/arch/x86/entry/entry_32.S +++ b/arch/x86/entry/entry_32.S @@ -292,7 +292,7 @@ ENTRY(entry_SYSENTER_32) movl TSS_sysenter_sp0(%esp), %esp sysenter_past_esp: pushl $__USER_DS /* pt_regs->ss */ - pushl %ecx /* pt_regs->cx */ + pushl %ecx /* pt_regs->sp (stashed in cx) */ pushfl /* pt_regs->flags (except IF = 0) */ orl $X86_EFLAGS_IF, (%esp) /* Fix IF */ pushl $__USER_CS /* pt_regs->cs */ diff --git a/arch/x86/entry/vdso/vdso32/system_call.S b/arch/x86/entry/vdso/vdso32/system_call.S index 93bd8452383f..8f42b1b9e8df 100644 --- a/arch/x86/entry/vdso/vdso32/system_call.S +++ b/arch/x86/entry/vdso/vdso32/system_call.S @@ -1,5 +1,5 @@ /* - * Code for the vDSO. This version uses the old int $0x80 method. + * AT_SYSINFO entry point */ #include <asm/dwarf2.h> |