diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-15 01:09:35 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-21 20:36:58 +0200 |
commit | 1c253ff2287fe31307a67938c4487936db967ff5 (patch) | |
tree | 11268e05b6b6c3b55b45b31acce96fd3fec3abf1 /arch/x86/kernel/fpu/init.c | |
parent | 2bd264bce238cedbf00bde1f28ad51ba45b9114e (diff) |
x86/fpu: Move xstate feature masks to fpu_*_cfg
Move the feature mask storage to the kernel and user config
structs. Default and maximum feature set are the same for now.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211014230739.352041752@linutronix.de
Diffstat (limited to 'arch/x86/kernel/fpu/init.c')
-rw-r--r-- | arch/x86/kernel/fpu/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/fpu/init.c b/arch/x86/kernel/fpu/init.c index 58043ed08662..7074154131e6 100644 --- a/arch/x86/kernel/fpu/init.c +++ b/arch/x86/kernel/fpu/init.c @@ -211,7 +211,7 @@ static void __init fpu__init_init_fpstate(void) { /* Bring init_fpstate size and features up to date */ init_fpstate.size = fpu_kernel_cfg.max_size; - init_fpstate.xfeatures = xfeatures_mask_all; + init_fpstate.xfeatures = fpu_kernel_cfg.max_features; } /* |