[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <c598b788f288a577678f7278333f859337123ebb.1769090885.git.houwenlong.hwl@antgroup.com>
Date: Thu, 22 Jan 2026 22:15:44 +0800
From: Hou Wenlong <houwenlong.hwl@...group.com>
To: linux-kernel@...r.kernel.org
Cc: Hou Wenlong <houwenlong.hwl@...group.com>,
Thomas Gleixner <tglx@...nel.org>,
Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Eric Dumazet <edumazet@...gle.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>
Subject: [PATCH 2/2] x86/smp: Don't export x86_smp_ops_static_call_update()
x86_smp_ops_static_call_update() is only used in the kernel instead of a
module, so there is no need to export it.
Signed-off-by: Hou Wenlong <houwenlong.hwl@...group.com>
---
arch/x86/kernel/smp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c
index 4633ade87993..e19ff954d86c 100644
--- a/arch/x86/kernel/smp.c
+++ b/arch/x86/kernel/smp.c
@@ -317,7 +317,6 @@ void x86_smp_ops_static_call_update(void)
static_call_update(x86_smp_send_reschedule,
smp_ops.smp_send_reschedule);
}
-EXPORT_SYMBOL_GPL(x86_smp_ops_static_call_update);
int arch_cpu_rescan_dead_smt_siblings(void)
{
--
2.31.1
Powered by blists - more mailing lists