]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/fpu: Correct the comment explaining what xfeatures_in_use() does
authorBorislav Petkov (AMD) <bp@alien8.de>
Wed, 8 Apr 2026 10:32:06 +0000 (12:32 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 8 Apr 2026 10:32:06 +0000 (12:32 +0200)
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@alien8.de>
arch/x86/include/asm/fpu/xcr.h

index 9a710c0604457a3d42926aa1bb5150e099782336..698457f16d5d0ec94099f610811b9800cc07dcd3 100644 (file)
@@ -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.
  */