diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-15 03:16:21 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-20 15:27:27 +0200 |
commit | d06241f52cfe4a0580856ef2cfac90dc7f752cae (patch) | |
tree | 06be585119a29661bf4761507e1f1bab46cd98a3 /arch/x86/kernel/fpu/regset.c | |
parent | x86/fpu: Move context switch and exit to user inlines into sched.h (diff) | |
download | linux-d06241f52cfe4a0580856ef2cfac90dc7f752cae.tar.xz linux-d06241f52cfe4a0580856ef2cfac90dc7f752cae.zip |
x86/fpu: Clean up CPU feature tests
Further disintegration of internal.h:
Move the CPU feature tests to a core header and remove the unused one.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211015011539.401510559@linutronix.de
Diffstat (limited to 'arch/x86/kernel/fpu/regset.c')
-rw-r--r-- | arch/x86/kernel/fpu/regset.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/fpu/regset.c b/arch/x86/kernel/fpu/regset.c index 66ed317ebc0d..ccf0c59955f1 100644 --- a/arch/x86/kernel/fpu/regset.c +++ b/arch/x86/kernel/fpu/regset.c @@ -10,6 +10,8 @@ #include <asm/fpu/regset.h> #include <asm/fpu/xstate.h> +#include "internal.h" + /* * The xstateregs_active() routine is the same as the regset_fpregs_active() routine, * as the "regset->n" for the xstate regset will be updated based on the feature |