summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pkru.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-10-15 03:15:57 +0200
committerBorislav Petkov <bp@suse.de>2021-10-20 15:27:25 +0200
commitb50854eca0e014c2d3738073b387ab8ec85118ab (patch)
tree9e64da605b1ecd110df82ba4dd46c60a2ae92faa /arch/x86/include/asm/pkru.h
parentx86/fpu: Update stale comments (diff)
downloadlinux-b50854eca0e014c2d3738073b387ab8ec85118ab.tar.xz
linux-b50854eca0e014c2d3738073b387ab8ec85118ab.zip
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.h2
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