x86/fpu: Mark various FPU state variables __ro_after_init
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Jun 2021 12:01:30 +0000 (14:01 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 23 Jun 2021 15:49:45 +0000 (17:49 +0200)
commitce578f16348b003675c928a1992498b33b515f18
tree7ea531705d199ab7a0c34261f8071594f7ad53be
parentb3607269ff57fd3c9690cb25962c5e4b91a0fd3b
x86/fpu: Mark various FPU state variables __ro_after_init

Nothing modifies these after booting.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20210623121451.611751529@linutronix.de
arch/x86/kernel/fpu/init.c
arch/x86/kernel/fpu/xstate.c