mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/fpu: Remove export of mxcsr_feature_mask
@ 2024-05-30 19:27 Chang S. Bae
  2024-05-31  6:43 ` Nikolay Borisov
  0 siblings, 1 reply; 3+ messages in thread
From: Chang S. Bae @ 2024-05-30 19:27 UTC (permalink / raw)
  To: linux-kernel; +Cc: x86, tglx, mingo, bp, dave.hansen, chang.seok.bae

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86/fpu: Remove export of mxcsr_feature_mask
  2024-05-30 19:27 [PATCH] x86/fpu: Remove export of mxcsr_feature_mask Chang S. Bae
@ 2024-05-31  6:43 ` Nikolay Borisov
  2024-05-31 17:22   ` Chang S. Bae
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolay Borisov @ 2024-05-31  6:43 UTC (permalink / raw)
  To: Chang S. Bae, linux-kernel; +Cc: x86, tglx, mingo, bp, dave.hansen



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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86/fpu: Remove export of mxcsr_feature_mask
  2024-05-31  6:43 ` Nikolay Borisov
@ 2024-05-31 17:22   ` Chang S. Bae
  0 siblings, 0 replies; 3+ messages in thread
From: Chang S. Bae @ 2024-05-31 17:22 UTC (permalink / raw)
  To: Nikolay Borisov, linux-kernel; +Cc: x86, tglx, mingo, bp, dave.hansen

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-31 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-30 19:27 [PATCH] x86/fpu: Remove export of mxcsr_feature_mask Chang S. Bae
2024-05-31  6:43 ` Nikolay Borisov
2024-05-31 17:22   ` Chang S. Bae

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®