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/include/asm/pkru.h | |
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/include/asm/pkru.h')
-rw-r--r-- | arch/x86/include/asm/pkru.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pkru.h b/arch/x86/include/asm/pkru.h index ccc539faa5bb..4cd49afa0ca4 100644 --- a/arch/x86/include/asm/pkru.h +++ b/arch/x86/include/asm/pkru.h @@ -2,7 +2,7 @@ #ifndef _ASM_X86_PKRU_H #define _ASM_X86_PKRU_H -#include <asm/fpu/xstate.h> +#include <asm/cpufeature.h> #define PKRU_AD_BIT 0x1 #define PKRU_WD_BIT 0x2 |