diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-12 14:38:28 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:24 -0500 |
commit | 49cb25e92902ba24bd38c350114f8695493b262f (patch) | |
tree | 4bc2fffe7aa654c4230232e0f64eee071ec1da46 /arch/x86/kernel/entry_32.S | |
parent | 3fe26fa34da029263067b48836e740c1ddffbd91 (diff) |
x86: get rid of pt_regs argument in vm86/vm86old
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
-rw-r--r-- | arch/x86/kernel/entry_32.S | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index e132cf6ea140..352e5a9279ec 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -699,27 +699,6 @@ END(syscall_badsys) | |||
699 | */ | 699 | */ |
700 | .popsection | 700 | .popsection |
701 | 701 | ||
702 | /* | ||
703 | * System calls that need a pt_regs pointer. | ||
704 | */ | ||
705 | #define PTREGSCALL1(name) \ | ||
706 | ENTRY(ptregs_##name) ; \ | ||
707 | leal 4(%esp),%edx; \ | ||
708 | movl (PT_EBX+4)(%esp),%eax; \ | ||
709 | jmp sys_##name; \ | ||
710 | ENDPROC(ptregs_##name) | ||
711 | |||
712 | #define PTREGSCALL2(name) \ | ||
713 | ENTRY(ptregs_##name) ; \ | ||
714 | leal 4(%esp),%ecx; \ | ||
715 | movl (PT_ECX+4)(%esp),%edx; \ | ||
716 | movl (PT_EBX+4)(%esp),%eax; \ | ||
717 | jmp sys_##name; \ | ||
718 | ENDPROC(ptregs_##name) | ||
719 | |||
720 | PTREGSCALL2(vm86) | ||
721 | PTREGSCALL1(vm86old) | ||
722 | |||
723 | .macro FIXUP_ESPFIX_STACK | 702 | .macro FIXUP_ESPFIX_STACK |
724 | /* | 703 | /* |
725 | * Switch back for ESPFIX stack to the normal zerobased stack | 704 | * Switch back for ESPFIX stack to the normal zerobased stack |