diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-15 04:15:57 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-20 16:27:25 +0300 |
commit | b50854eca0e014c2d3738073b387ab8ec85118ab (patch) | |
tree | 9e64da605b1ecd110df82ba4dd46c60a2ae92faa /arch/x86/events | |
parent | d2d926482cdfbd5517826eca4e39dcd8757f04d3 (diff) | |
download | linux-b50854eca0e014c2d3738073b387ab8ec85118ab.tar.xz |
x86/pkru: Remove useless include
PKRU code does not need anything from FPU headers. Include cpufeature.h
instead and fixup the resulting fallout in perf.
This is a preparation for FPU changes in order to prevent recursive include
hell.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211015011538.551522694@linutronix.de
Diffstat (limited to 'arch/x86/events')
-rw-r--r-- | arch/x86/events/perf_event.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/events/perf_event.h b/arch/x86/events/perf_event.h index e3ac05c97b5e..134c08df7340 100644 --- a/arch/x86/events/perf_event.h +++ b/arch/x86/events/perf_event.h @@ -14,6 +14,7 @@ #include <linux/perf_event.h> +#include <asm/fpu/xstate.h> #include <asm/intel_ds.h> #include <asm/cpu.h> |