[patch V9 35/39] x86/entry: Make enter_from_user_mode() static

From: Thomas Gleixner
Date: Thu May 21 2020 - 16:32:36 EST


From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

The ASM users are gone. All callers are local.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>
---
arch/x86/entry/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -54,7 +54,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();