[PATCH] x86/fpu: Remove export of mxcsr_feature_mask

Chang S. Bae posted 1 patch 1 year, 6 months ago
There is a newer version of this series
arch/x86/kernel/fpu/init.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] x86/fpu: Remove export of mxcsr_feature_mask
Posted by Chang S. Bae 1 year, 6 months ago
The variable was previously referenced in KVM code but is no longer used.
Don't export it.

Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
---
 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 998a08f17e33..45d966492159 100644
--- a/arch/x86/kernel/fpu/init.c
+++ b/arch/x86/kernel/fpu/init.c
@@ -94,7 +94,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.34.1
Re: [PATCH] x86/fpu: Remove export of mxcsr_feature_mask
Posted by Nikolay Borisov 1 year, 6 months ago

On 30.05.24 г. 22:27 ч., Chang S. Bae wrote:
> The variable was previously referenced in KVM code but is no longer used.
> Don't export it.
> 
> Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>

FWIW the usage of this variable got removed in ea4d6938d4c0 ("x86/fpu: 
Replace KVMs home brewed FPU copy from user")

Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Re: [PATCH] x86/fpu: Remove export of mxcsr_feature_mask
Posted by Chang S. Bae 1 year, 6 months ago
On 5/30/2024 11:43 PM, Nikolay Borisov wrote:
> 
> FWIW the usage of this variable got removed in ea4d6938d4c0 ("x86/fpu: 
> Replace KVMs home brewed FPU copy from user")
> 
> Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>

Thanks!