Commit 616ab249 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Ingo Molnar

x86/asm/entry/64: Remove stub_iopl

stub_iopl is no longer needed: pt_regs->flags needs no fixing up
after previous change. Remove it.
Signed-off-by: default avatarDenys Vlasenko <dvlasenk@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Will Drewry <wad@chromium.org>
Link: http://lkml.kernel.org/r/1425984307-2143-1-git-send-email-dvlasenk@redhat.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 29722cd4
...@@ -421,22 +421,9 @@ ENTRY(stub_\func) ...@@ -421,22 +421,9 @@ ENTRY(stub_\func)
END(stub_\func) END(stub_\func)
.endm .endm
.macro FIXED_FRAME label,func
ENTRY(\label)
CFI_STARTPROC
DEFAULT_FRAME 0, 8 /* offset 8: return address */
FIXUP_TOP_OF_STACK %r11, 8
call \func
RESTORE_TOP_OF_STACK %r11, 8
ret
CFI_ENDPROC
END(\label)
.endm
FORK_LIKE clone FORK_LIKE clone
FORK_LIKE fork FORK_LIKE fork
FORK_LIKE vfork FORK_LIKE vfork
FIXED_FRAME stub_iopl, sys_iopl
ENTRY(stub_execve) ENTRY(stub_execve)
CFI_STARTPROC CFI_STARTPROC
......
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
169 common reboot sys_reboot 169 common reboot sys_reboot
170 common sethostname sys_sethostname 170 common sethostname sys_sethostname
171 common setdomainname sys_setdomainname 171 common setdomainname sys_setdomainname
172 common iopl stub_iopl 172 common iopl sys_iopl
173 common ioperm sys_ioperm 173 common ioperm sys_ioperm
174 64 create_module 174 64 create_module
175 common init_module sys_init_module 175 common init_module sys_init_module
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
*/ */
/* Not going to be implemented by UML, since we have no hardware. */ /* Not going to be implemented by UML, since we have no hardware. */
#define stub_iopl sys_ni_syscall #define sys_iopl sys_ni_syscall
#define sys_ioperm sys_ni_syscall #define sys_ioperm sys_ni_syscall
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment