aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-07-08 19:28:07 +0000
committerThomas Gleixner <[email protected]>2020-07-09 09:18:30 +0000
commitbd87e6f6610aa96fde01ee6653e162213f7ec836 (patch)
tree9a72155a35b9298d0d1b66f3821776170a60e961
parentx86/entry: Mark check_user_regs() noinstr (diff)
downloadkernel-bd87e6f6610aa96fde01ee6653e162213f7ec836.tar.gz
kernel-bd87e6f6610aa96fde01ee6653e162213f7ec836.zip
x86/entry/common: Make prepare_exit_to_usermode() static
No users outside this file anymore. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Andy Lutomirski <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
-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 ea7b515e3bc2..f09288431f28 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -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);