]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
x86/bugs: Increase the x86 bugs vector size to two u32s
authorBorislav Petkov (AMD) <bp@alien8.de>
Sat, 8 Jul 2023 08:21:35 +0000 (10:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Aug 2023 17:58:33 +0000 (19:58 +0200)
Upstream commit: 0e52740ffd10c6c316837c6c128f460f1aaba1ea

There was never a doubt in my mind that they would not fit into a single
u32 eventually.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/cpufeatures.h
tools/arch/x86/include/asm/cpufeatures.h

index 6afec5442a957ba55141550bd20f0db946f4b7d3..1dd57d0151f774946c7dc78f5983fcbbb10732f5 100644 (file)
@@ -14,7 +14,7 @@
  * Defines x86 CPU feature bits
  */
 #define NCAPINTS                       20         /* N 32-bit words worth of info */
-#define NBUGINTS                       1          /* N 32-bit bug flags */
+#define NBUGINTS                       2          /* N 32-bit bug flags */
 
 /*
  * Note: If the comment begins with a quoted string, that string is used
index bcaedfe60572f85275b22dd9aedf47454e853e9b..861451839cf2fee2d70cbb1d357411a4c08bef8d 100644 (file)
@@ -14,7 +14,7 @@
  * Defines x86 CPU feature bits
  */
 #define NCAPINTS                       20         /* N 32-bit words worth of info */
-#define NBUGINTS                       1          /* N 32-bit bug flags */
+#define NBUGINTS                       2          /* N 32-bit bug flags */
 
 /*
  * Note: If the comment begins with a quoted string, that string is used