Skip to content

Commit 878477a

Browse files
gaochaointelIngo Molnar
authored and
Ingo Molnar
committed
x86/fpu: Update the outdated comment above fpstate_init_user()
fpu_init_fpstate_user() was removed in: commit 582b01b ("x86/fpu: Remove old KVM FPU interface"). Update that comment to accurately reflect the current state regarding its callers. Signed-off-by: Chao Gao <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 3181424 commit 878477a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/fpu/core.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ static inline void fpstate_init_fstate(struct fpstate *fpstate)
508508
/*
509509
* Used in two places:
510510
* 1) Early boot to setup init_fpstate for non XSAVE systems
511-
* 2) fpu_init_fpstate_user() which is invoked from KVM
511+
* 2) fpu_alloc_guest_fpstate() which is invoked from KVM
512512
*/
513513
void fpstate_init_user(struct fpstate *fpstate)
514514
{

0 commit comments

Comments
 (0)