From: Thomas Gleixner Date: Thu, 21 May 2020 20:05:48 +0000 (+0200) Subject: x86/entry: Make enter_from_user_mode() static X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~1910^2~32 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=3b6c9bf69ef34c5ca36c78aad4ff76b9d9afc92c;p=linux.git x86/entry: Make enter_from_user_mode() static The ASM users are gone. All callers are local. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Acked-by: Andy Lutomirski Link: https://lore.kernel.org/r/20200521202120.129232680@linutronix.de --- 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();