Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Sean Christopherson and committed by
Dave Hansen
ed028824 41f47670

-1
-1
arch/x86/kernel/cpu/bugs.c
··· 102 102 103 103 /* The base value of the SPEC_CTRL MSR without task-specific bits set */ 104 104 u64 x86_spec_ctrl_base; 105 - EXPORT_SYMBOL_GPL(x86_spec_ctrl_base); 106 105 107 106 /* The current value of the SPEC_CTRL MSR with task-specific bits set */ 108 107 DEFINE_PER_CPU(u64, x86_spec_ctrl_current);