lkml.org 
[lkml]   [2015]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 8/9] x86: Remove user_mode_vm
Date
It has no callers any more.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
---
arch/x86/include/asm/ptrace.h | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/x86/include/asm/ptrace.h b/arch/x86/include/asm/ptrace.h
index 6483525bb559..953675c247a3 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)
#endif
}

-static inline int user_mode_vm(struct pt_regs *regs)
-{
- return user_mode(regs);
-}
-
/*
* This is the fastest way to check whether regs come from user space.
* It is unsafe if regs might come from vm86 mode, though -- in vm86
--
2.3.0


\
 
 \ /
  Last update: 2015-03-19 02:41    [W:2.360 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site