]> git.baikalelectronics.ru Git - kernel.git/commit
x86/bugs: Make boot modes __ro_after_init
authorKees Cook <keescook@chromium.org>
Thu, 3 May 2018 22:03:30 +0000 (15:03 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 4 May 2018 22:51:43 +0000 (00:51 +0200)
commit748090d7dc0b96600147d77a4c71ac1c9710c452
tree04bcbd52a0a44fd2a67faf3c18e714c6aca785a9
parentaa857b969e8a586fc55a1d1c98ec6dc3e0124812
x86/bugs: Make boot modes __ro_after_init

There's no reason for these to be changed after boot.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/bugs.c