mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
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
This commit is contained in:
parent
d2d926482c
commit
b50854eca0
2 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include <linux/perf_event.h>
|
||||
|
||||
#include <asm/fpu/xstate.h>
|
||||
#include <asm/intel_ds.h>
|
||||
#include <asm/cpu.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
|
||||
|
|
Loading…
Reference in a new issue