mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
x86/fpu: Mark init_fpstate __ro_after_init
Nothing has to write into that state after init. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121456.992342060@linutronix.de
This commit is contained in:
parent
72a6c08c44
commit
bf68a7d989
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
* Represents the initial FPU state. It's mostly (but not completely) zeroes,
|
||||
* depending on the FPU hardware format:
|
||||
*/
|
||||
union fpregs_state init_fpstate __read_mostly;
|
||||
union fpregs_state init_fpstate __ro_after_init;
|
||||
|
||||
/*
|
||||
* Track whether the kernel is using the FPU state
|
||||
|
|
Loading…
Reference in a new issue