diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index a0f8c3cb130a385fdeeb226fb8ccc83f91d9ec4d..b0b1c3cf0e6e5ca2b05d4e810a849a8c4a9aa790 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();