Skip to content

Commit af813ac

Browse files
lrq-maxIngo Molnar
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 5ca28d2 commit af813ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)