Skip to content

Commit 9c26c91

Browse files
sean-jchansendc
authored andcommitted
x86/mtrr: Drop unnecessary export of "mtrr_state"
Don't export "mtrr_state" as usage is limited to arch/x86/kernel/cpu/mtrr (and nothing outside of that directory even includes the local mtrr.h). 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-3-seanjc%40google.com
1 parent ed02882 commit 9c26c91

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/x86/kernel/cpu/mtrr/generic.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ static int mtrr_state_set;
8989
u64 mtrr_tom2;
9090

9191
struct mtrr_state_type mtrr_state;
92-
EXPORT_SYMBOL_GPL(mtrr_state);
9392

9493
/* Reserved bits in the high portion of the MTRRphysBaseN MSR. */
9594
u32 phys_hi_rsvd;

0 commit comments

Comments
 (0)