mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip: x86/misc] x86/bugs: Drop unnecessary export of "x86_spec_ctrl_base"
@ 2025-11-13  0:41 tip-bot2 for Sean Christopherson
  0 siblings, 0 replies; only message in thread
From: tip-bot2 for Sean Christopherson @ 2025-11-13  0:41 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Sean Christopherson, Dave Hansen, x86, linux-kernel

The following commit has been merged into the x86/misc branch of tip:

Commit-ID:     ed028824605a6ddf8707b9313f7e76419d453ca6
Gitweb:        https://git.kernel.org/tip/ed028824605a6ddf8707b9313f7e76419d453ca6
Author:        Sean Christopherson <seanjc@google.com>
AuthorDate:    Wed, 12 Nov 2025 09:39:41 -08:00
Committer:     Dave Hansen <dave.hansen@linux.intel.com>
CommitterDate: Wed, 12 Nov 2025 15:24:42 -08:00

x86/bugs: Drop unnecessary export of "x86_spec_ctrl_base"

Don't export x86_spec_ctrl_base as it's used only in bugs.c and process.c,
neither of which can be built into a module.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://patch.msgid.link/20251112173944.1380633-2-seanjc%40google.com
---
 arch/x86/kernel/cpu/bugs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
index d7fa03b..57c1d0e 100644
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -102,7 +102,6 @@ static void __init vmscape_apply_mitigation(void);
 
 /* The base value of the SPEC_CTRL MSR without task-specific bits set */
 u64 x86_spec_ctrl_base;
-EXPORT_SYMBOL_GPL(x86_spec_ctrl_base);
 
 /* The current value of the SPEC_CTRL MSR with task-specific bits set */
 DEFINE_PER_CPU(u64, x86_spec_ctrl_current);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-13  0:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-13  0:41 [tip: x86/misc] x86/bugs: Drop unnecessary export of "x86_spec_ctrl_base" tip-bot2 for Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®