Skip to content

Commit ed02882

Browse files
sean-jchansendc
authored andcommitted
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
1 parent 41f4767 commit ed02882

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/x86/kernel/cpu/bugs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ static void __init vmscape_apply_mitigation(void);
102102

103103
/* The base value of the SPEC_CTRL MSR without task-specific bits set */
104104
u64 x86_spec_ctrl_base;
105-
EXPORT_SYMBOL_GPL(x86_spec_ctrl_base);
106105

107106
/* The current value of the SPEC_CTRL MSR with task-specific bits set */
108107
DEFINE_PER_CPU(u64, x86_spec_ctrl_current);

0 commit comments

Comments
 (0)