[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-7a2806741e7327a6b20ccef42e8d56588cb2fef5@git.kernel.org>
Date: Mon, 23 Mar 2015 05:28:07 -0700
From: tip-bot for Andy Lutomirski <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
bp@...en8.de, spender@...ecurity.net, luto@...nel.org,
tglx@...utronix.de, hpa@...or.com, dvlasenk@...hat.com,
mingo@...nel.org
Subject: [tip:x86/asm] x86/asm/entry: Remove user_mode_vm()
Commit-ID: 7a2806741e7327a6b20ccef42e8d56588cb2fef5
Gitweb: http://git.kernel.org/tip/7a2806741e7327a6b20ccef42e8d56588cb2fef5
Author: Andy Lutomirski <luto@...nel.org>
AuthorDate: Wed, 18 Mar 2015 18:33:34 -0700
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 23 Mar 2015 11:14:33 +0100
x86/asm/entry: Remove user_mode_vm()
It has no callers anymore.
Signed-off-by: Andy Lutomirski <luto@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Brad Spengler <spender@...ecurity.net>
Cc: Denys Vlasenko <dvlasenk@...hat.com>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/a594afd6a0bddb1311bd7c92a15201c87fbb8681.1426728647.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@...nel.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 70c439f..d20bae2 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists