]> git.baikalelectronics.ru Git - kernel.git/commitdiff
x86/entry: Make enter_from_user_mode() static
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 May 2020 20:05:48 +0000 (22:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:17 +0000 (15:15 +0200)
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
arch/x86/entry/common.c

index a0f8c3cb130a385fdeeb226fb8ccc83f91d9ec4d..b0b1c3cf0e6e5ca2b05d4e810a849a8c4a9aa790 100644 (file)
@@ -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();