projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72a6c08
)
x86/fpu: Mark init_fpstate __ro_after_init
author
Thomas Gleixner
<tglx@linutronix.de>
Wed, 23 Jun 2021 12:02:24 +0000
(14:02 +0200)
committer
Borislav Petkov
<bp@suse.de>
Wed, 23 Jun 2021 17:58:45 +0000
(19:58 +0200)
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
arch/x86/kernel/fpu/core.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/fpu/core.c
b/arch/x86/kernel/fpu/core.c
index
5295cba
..
7ada7bd
100644
(file)
--- a/
arch/x86/kernel/fpu/core.c
+++ b/
arch/x86/kernel/fpu/core.c
@@
-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 __r
ead_mostly
;
+union fpregs_state init_fpstate __r
o_after_init
;
/*
* Track whether the kernel is using the FPU state