summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/ptrace.h
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-05-27 23:08:59 +0300
committerKees Cook <keescook@chromium.org>2016-06-14 20:54:39 +0300
commitc87a85177e7a7f9a9ee32893fb99a928e02fe23a (patch)
treef12f5fd3475ae8e12a4b209e7cb517b363ec864a /arch/x86/include/asm/ptrace.h
parent2f275de5d1ed7269913ef9b4c64a13952c0a38e8 (diff)
downloadlinux-c87a85177e7a7f9a9ee32893fb99a928e02fe23a.tar.xz
x86/entry: Get rid of two-phase syscall entry work
I added two-phase syscall entry work back when the entry slow path was very slow. Nowadays, the entry slow path is fast and two-phase entry work serves no purpose. Remove it. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/ptrace.h')
-rw-r--r--arch/x86/include/asm/ptrace.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/ptrace.h b/arch/x86/include/asm/ptrace.h
index 6271281f947d..2b5d686ea9f3 100644
--- a/arch/x86/include/asm/ptrace.h
+++ b/arch/x86/include/asm/ptrace.h
@@ -83,12 +83,6 @@ extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs,
int error_code, int si_code);
-extern unsigned long syscall_trace_enter_phase1(struct pt_regs *, u32 arch);
-extern long syscall_trace_enter_phase2(struct pt_regs *, u32 arch,
- unsigned long phase1_result);
-
-extern long syscall_trace_enter(struct pt_regs *);
-
static inline unsigned long regs_return_value(struct pt_regs *regs)
{
return regs->ax;