[PATCH 09/10] x86/fpu: Remove export of mxcsr_feature_mask

From: Chang S. Bae
Date: Tue Apr 15 2025 - 22:19:15 EST


The variable was previously referenced in KVM code but the last usage was
removed by:

ea4d6938d4c0 ("x86/fpu: Replace KVMs home brewed FPU copy from user")

Remove its export symbol.

Signed-off-by: Chang S. Bae <chang.seok.bae@xxxxxxxxx>
Reviewed-by: Nikolay Borisov <nik.borisov@xxxxxxxx>
---
Changes from the last posting:
https://lore.kernel.org/lkml/d143cc4c-8f8e-48e5-87f1-dded3272433a@xxxxxxxx
* Note the commit that removed its usage (Nikolay)
* Include review tag

Apologies -- given the review tag, I should have followed up this
earlier.
---
arch/x86/kernel/fpu/init.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/fpu/init.c b/arch/x86/kernel/fpu/init.c
index 16b6611634c3..2d9b5e677559 100644
--- a/arch/x86/kernel/fpu/init.c
+++ b/arch/x86/kernel/fpu/init.c
@@ -100,7 +100,6 @@ static void __init fpu__init_system_early_generic(void)
* Boot time FPU feature detection code:
*/
unsigned int mxcsr_feature_mask __ro_after_init = 0xffffffffu;
-EXPORT_SYMBOL_GPL(mxcsr_feature_mask);

static void __init fpu__init_system_mxcsr(void)
{
--
2.45.2