[tip: x86/fpu] x86/fpu: Remove export of mxcsr_feature_mask

From: tip-bot2 for Chang S. Bae
Date: Wed Apr 16 2025 - 04:17:50 EST


The following commit has been merged into the x86/fpu branch of tip:

Commit-ID: 70fe4a0266ef156f3a49071da0d9ea6af0f49c44
Gitweb: https://git.kernel.org/tip/70fe4a0266ef156f3a49071da0d9ea6af0f49c44
Author: Chang S. Bae <chang.seok.bae@xxxxxxxxx>
AuthorDate: Tue, 15 Apr 2025 19:16:59 -07:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Wed, 16 Apr 2025 10:01:03 +02:00

x86/fpu: Remove export of mxcsr_feature_mask

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.

Reviewed-by: Nikolay Borisov <nik.borisov@xxxxxxxx>
Signed-off-by: Chang S. Bae <chang.seok.bae@xxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20250416021720.12305-10-chang.seok.bae@xxxxxxxxx
---
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 16b6611..2d9b5e6 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)
{