Skip to content

Commit 58db103

Browse files
cyrillosKAGA-KOKO
authored andcommitted
x86/fpu: Update stale variable name in comment
When the fpu code was reworked pcntxt_mask was renamed to xfeatures_mask. Reflect it in the comment as well. Signed-off-by: Cyrill Gorcunov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent a99d808 commit 58db103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/fpu/xstate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ void *get_xsave_addr(struct xregs_state *xsave, int xfeature_nr)
840840

841841
/*
842842
* We should not ever be requesting features that we
843-
* have not enabled. Remember that pcntxt_mask is
843+
* have not enabled. Remember that xfeatures_mask is
844844
* what we write to the XCR0 register.
845845
*/
846846
WARN_ONCE(!(xfeatures_mask & BIT_ULL(xfeature_nr)),

0 commit comments

Comments
 (0)