Skip to content

Commit af813ac

Browse files
lrq-maxingomolnar
authored andcommitted
x86/fpu: Update fpu_swap_kvm_fpu() uses in comments as well
The following commit: d69c138 ("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@baidu.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20240403091803.818-1-lirongqing@baidu.com
1 parent 5ca28d2 commit af813ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/x86/kernel/fpu/xstate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,8 +1433,8 @@ static bool xstate_op_valid(struct fpstate *fpstate, u64 mask, bool rstor)
14331433
return rstor;
14341434

14351435
/*
1436-
* XSAVE(S): clone(), fpu_swap_kvm_fpu()
1437-
* XRSTORS(S): fpu_swap_kvm_fpu()
1436+
* XSAVE(S): clone(), fpu_swap_kvm_fpstate()
1437+
* XRSTORS(S): fpu_swap_kvm_fpstate()
14381438
*/
14391439

14401440
/*

0 commit comments

Comments
 (0)