diff options
author | 2021-10-15 01:09:34 +0200 | |
---|---|---|
committer | 2021-10-21 19:38:55 +0200 | |
commit | 2bd264bce238cedbf00bde1f28ad51ba45b9114e (patch) | |
tree | a987bdb7fdca3a674b55bfbbf06c304d88077cb7 /arch/x86/kernel/fpu/internal.h | |
parent | x86/fpu/xstate: Cleanup size calculations (diff) | |
download | linux-dev-2bd264bce238cedbf00bde1f28ad51ba45b9114e.tar.xz linux-dev-2bd264bce238cedbf00bde1f28ad51ba45b9114e.zip |
x86/fpu: Move xstate size to fpu_*_cfg
Use the new kernel and user space config storage to store and retrieve the
XSTATE buffer sizes. The default and the maximum size are the same for now,
but will change when support for dynamically enabled features is added.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211014230739.296830097@linutronix.de
Diffstat (limited to 'arch/x86/kernel/fpu/internal.h')
-rw-r--r-- | arch/x86/kernel/fpu/internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/fpu/internal.h b/arch/x86/kernel/fpu/internal.h index 5c4f71ff6ae9..e1d8a352f12d 100644 --- a/arch/x86/kernel/fpu/internal.h +++ b/arch/x86/kernel/fpu/internal.h @@ -2,8 +2,6 @@ #ifndef __X86_KERNEL_FPU_INTERNAL_H #define __X86_KERNEL_FPU_INTERNAL_H -extern unsigned int fpu_kernel_xstate_size; -extern unsigned int fpu_user_xstate_size; extern struct fpstate init_fpstate; /* CPU feature check wrappers */ |