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
Showing
- arch/x86/include/asm/fpu/xstate.h 4 additions, 6 deletionsarch/x86/include/asm/fpu/xstate.h
- arch/x86/kernel/fpu/core.c 2 additions, 2 deletionsarch/x86/kernel/fpu/core.c
- arch/x86/kernel/fpu/init.c 1 addition, 1 deletionarch/x86/kernel/fpu/init.c
- arch/x86/kernel/fpu/signal.c 2 additions, 1 deletionarch/x86/kernel/fpu/signal.c
- arch/x86/kernel/fpu/xstate.c 29 additions, 28 deletionsarch/x86/kernel/fpu/xstate.c
Loading
Please register or sign in to comment