aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_32.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-12 14:38:28 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 18:16:24 -0500
commit49cb25e92902ba24bd38c350114f8695493b262f (patch)
tree4bc2fffe7aa654c4230232e0f64eee071ec1da46 /arch/x86/kernel/entry_32.S
parent3fe26fa34da029263067b48836e740c1ddffbd91 (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.S21
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) \
706ENTRY(ptregs_##name) ; \
707 leal 4(%esp),%edx; \
708 movl (PT_EBX+4)(%esp),%eax; \
709 jmp sys_##name; \
710ENDPROC(ptregs_##name)
711
712#define PTREGSCALL2(name) \
713ENTRY(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; \
718ENDPROC(ptregs_##name)
719
720PTREGSCALL2(vm86)
721PTREGSCALL1(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