diff options
author | Namhyung Kim <namhyung@kernel.org> | 2024-04-08 11:55:16 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-04-11 10:38:29 -0700 |
commit | 58e1b92df491c35abad7ddd2e393b89244e16bd5 (patch) | |
tree | 29093a7a4392fb8ceca4f197345f2b5bee2a066f /tools/arch/x86/include/asm/required-features.h | |
parent | b7ce17f257da17a4163da82e0fb7726c2de85da7 (diff) | |
download | lwn-58e1b92df491c35abad7ddd2e393b89244e16bd5.tar.gz lwn-58e1b92df491c35abad7ddd2e393b89244e16bd5.zip |
tools/include: Sync x86 CPU feature headers with the kernel sources
To pick up the changes from:
598c2fafc06f ("perf/x86/amd/lbr: Use freeze based on availability")
7f274e609f3d ("x86/cpufeatures: Add new word for scattered features")
This should address these tools/perf build warnings:
Warning: Kernel ABI header differences:
diff -u tools/arch/x86/include/asm/disabled-features.h arch/x86/include/asm/disabled-features.h
diff -u tools/arch/x86/include/asm/required-features.h arch/x86/include/asm/required-features.h
diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240408185520.1550865-6-namhyung@kernel.org
Diffstat (limited to 'tools/arch/x86/include/asm/required-features.h')
-rw-r--r-- | tools/arch/x86/include/asm/required-features.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/arch/x86/include/asm/required-features.h b/tools/arch/x86/include/asm/required-features.h index 7ba1726b71c7..e9187ddd3d1f 100644 --- a/tools/arch/x86/include/asm/required-features.h +++ b/tools/arch/x86/include/asm/required-features.h @@ -99,6 +99,7 @@ #define REQUIRED_MASK18 0 #define REQUIRED_MASK19 0 #define REQUIRED_MASK20 0 -#define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 21) +#define REQUIRED_MASK21 0 +#define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 22) #endif /* _ASM_X86_REQUIRED_FEATURES_H */ |