]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/pkru: Remove useless include
authorThomas Gleixner <tglx@linutronix.de>
Fri, 15 Oct 2021 01:15:57 +0000 (03:15 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 5 May 2022 07:14:11 +0000 (09:14 +0200)
commitb7926cb38132805f2e050723d99fe540a11e6468
tree4f99ff7a15ad6a9d0201df6ae8053f0168f01b37
parentf9be624bc99ec78719ddb5a37e1adc41ea54cf42
x86/pkru: Remove useless include

BugLink: https://bugs.launchpad.net/bugs/1967750
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
(cherry picked from commit b50854eca0e014c2d3738073b387ab8ec85118ab)
Acked-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
arch/x86/events/perf_event.h
arch/x86/include/asm/pkru.h