[tip: x86/cleanups] x86/fpu: Correct the comment explaining what xfeatures_in_use() does

From: tip-bot2 for Borislav Petkov (AMD)

Date: Wed Apr 08 2026 - 11:46:28 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: 9b8ad2b63067eb302aea429cb6f1f22947b353d7
Gitweb: https://git.kernel.org/tip/9b8ad2b63067eb302aea429cb6f1f22947b353d7
Author: Borislav Petkov (AMD) <bp@xxxxxxxxx>
AuthorDate: Wed, 08 Apr 2026 12:32:06 +02:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Wed, 08 Apr 2026 12:32:06 +02:00

x86/fpu: Correct the comment explaining what xfeatures_in_use() does

It returns the mask of the features which are being currently used,
i.e., NOT in their initial configuration.

No functional changes.

Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
---
arch/x86/include/asm/fpu/xcr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/fpu/xcr.h b/arch/x86/include/asm/fpu/xcr.h
index 9a710c0..698457f 100644
--- a/arch/x86/include/asm/fpu/xcr.h
+++ b/arch/x86/include/asm/fpu/xcr.h
@@ -23,7 +23,7 @@ static inline void xsetbv(u32 index, u64 value)

/*
* Return a mask of xfeatures which are currently being tracked
- * by the processor as being in the initial configuration.
+ * by the processor as being not in the initial configuration.
*
* Callers should check X86_FEATURE_XGETBV1.
*/