]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
x86/mtrr: Drop unnecessary export of "mtrr_state"
authorSean Christopherson <seanjc@google.com>
Wed, 12 Nov 2025 17:39:42 +0000 (09:39 -0800)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 12 Nov 2025 23:24:42 +0000 (15:24 -0800)
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
arch/x86/kernel/cpu/mtrr/generic.c

index 8c18327eb10bbb3557f6b032d1eced31e580beac..0863733858dc66fac9eec698d409f786c5b25cf7 100644 (file)
@@ -89,7 +89,6 @@ static int mtrr_state_set;
 u64 mtrr_tom2;
 
 struct mtrr_state_type mtrr_state;
-EXPORT_SYMBOL_GPL(mtrr_state);
 
 /* Reserved bits in the high portion of the MTRRphysBaseN MSR. */
 u32 phys_hi_rsvd;