aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/ptrace.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/ptrace.h b/arch/x86/include/asm/ptrace.h
index 70c439f9071b..d20bae298852 100644
--- a/arch/x86/include/asm/ptrace.h
+++ b/arch/x86/include/asm/ptrace.h
@@ -113,11 +113,6 @@ static inline int user_mode(struct pt_regs *regs)
113#endif 113#endif
114} 114}
115 115
116static inline int user_mode_vm(struct pt_regs *regs)
117{
118 return user_mode(regs);
119}
120
121/* 116/*
122 * This is the fastest way to check whether regs come from user space. 117 * This is the fastest way to check whether regs come from user space.
123 * It is unsafe if regs might come from vm86 mode, though -- in vm86 118 * It is unsafe if regs might come from vm86 mode, though -- in vm86