projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39b6f0
)
x86/asm/entry: Remove user_mode_vm()
author
Andy Lutomirski
<luto@kernel.org>
Thu, 19 Mar 2015 01:33:34 +0000
(18:33 -0700)
committer
Ingo Molnar
<mingo@kernel.org>
Mon, 23 Mar 2015 10:14:33 +0000
(11:14 +0100)
It has no callers anymore.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brad Spengler <spender@grsecurity.net>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link:
http://lkml.kernel.org/r/a594afd6a0bddb1311bd7c92a15201c87fbb8681.1426728647.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/ptrace.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/ptrace.h
b/arch/x86/include/asm/ptrace.h
index
70c439f
..
d20bae2
100644
(file)
--- 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