x86/entry/common: Make prepare_exit_to_usermode() static
authorThomas Gleixner <tglx@linutronix.de>
Wed, 8 Jul 2020 19:28:07 +0000 (21:28 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jul 2020 09:18:30 +0000 (11:18 +0200)
No users outside this file anymore.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200708192934.301116609@linutronix.de
arch/x86/entry/common.c

index ea7b515e3bc28904dbf27372a8ed50089aeb1621..f09288431f289c16c5848e6735bb0d2e1d3f07c7 100644 (file)
@@ -294,7 +294,7 @@ static void __prepare_exit_to_usermode(struct pt_regs *regs)
 #endif
 }
 
-__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
+static noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
 {
        instrumentation_begin();
        __prepare_exit_to_usermode(regs);