[tip: x86/fpu] x86/fpu: Update fpu_swap_kvm_fpu() uses in comments as well
From: tip-bot2 for Li RongQing
Date: Thu Apr 04 2024 - 03:57:42 EST
The following commit has been merged into the x86/fpu branch of tip:
Commit-ID: af813acf8c06db58c6e21d89d9e45e8cd1512965
Gitweb: https://git.kernel.org/tip/af813acf8c06db58c6e21d89d9e45e8cd1512965
Author: Li RongQing <lirongqing@xxxxxxxxx>
AuthorDate: Wed, 03 Apr 2024 17:18:03 +08:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Thu, 04 Apr 2024 09:49:42 +02:00
x86/fpu: Update fpu_swap_kvm_fpu() uses in comments as well
The following commit:
d69c1382e1b7 ("x86/kvm: Convert FPU handling to a single swap buffer")
reworked KVM FPU handling, but forgot to update the comments
in xstate_op_valid(): fpu_swap_kvm_fpu() doesn't exist anymore,
fpu_swap_kvm_fpstate() is used instead.
Update the comments accordingly.
[ mingo: Improved the changelog. ]
Signed-off-by: Li RongQing <lirongqing@xxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20240403091803.818-1-lirongqing@xxxxxxxxx
---
arch/x86/kernel/fpu/xstate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c
index 117e74c..d978251 100644
--- a/arch/x86/kernel/fpu/xstate.c
+++ b/arch/x86/kernel/fpu/xstate.c
@@ -1433,8 +1433,8 @@ static bool xstate_op_valid(struct fpstate *fpstate, u64 mask, bool rstor)
return rstor;
/*
- * XSAVE(S): clone(), fpu_swap_kvm_fpu()
- * XRSTORS(S): fpu_swap_kvm_fpu()
+ * XSAVE(S): clone(), fpu_swap_kvm_fpstate()
+ * XRSTORS(S): fpu_swap_kvm_fpstate()
*/
/*