aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-05-21 22:05:48 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-06-11 15:15:17 +0200
commit3b6c9bf69ef34c5ca36c78aad4ff76b9d9afc92c (patch)
tree8dc7f9acf7f505d599ed4c9cd30e3a3546db9432 /arch/x86
parentx86/entry/64: Remove IRQ stack switching ASM (diff)
downloadwireguard-linux-3b6c9bf69ef34c5ca36c78aad4ff76b9d9afc92c.tar.xz
wireguard-linux-3b6c9bf69ef34c5ca36c78aad4ff76b9d9afc92c.zip
x86/entry: Make enter_from_user_mode() static
The ASM users are gone. All callers are local. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Andy Lutomirski <luto@kernel.org> Link: https://lore.kernel.org/r/20200521202120.129232680@linutronix.de
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/entry/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index a0f8c3cb130a..b0b1c3cf0e6e 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -56,7 +56,7 @@
* 2) Invoke context tracking if enabled to reactivate RCU
* 3) Trace interrupts off state
*/
-__visible noinstr void enter_from_user_mode(void)
+static noinstr void enter_from_user_mode(void)
{
enum ctx_state state = ct_state();