It is statically allocated and we only grow it - so having an
GENKSYMS around it is fine. This fixes
aff7641cb9f37c7aa6897a7b51faa6e20b08013f
"x86/cpu/AMD: Add speculative control support for AMD" breaking the kABI
Orabug:
27344012
CVE: CVE-2017-5715
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
#include <asm/disabled-features.h>
#endif
+#ifdef __GENKSYMS__
+/* Make it look like we didn't change it. */
+#define NCAPINTS 13 /* N 32-bit words worth of info */
+#else
#define NCAPINTS 14 /* N 32-bit words worth of info */
+#endif
#define NBUGINTS 1 /* N 32-bit bug flags */
/*