x86/bugs: Make boot modes __ro_after_init
authorKees Cook <keescook@chromium.org>
Thu, 3 May 2018 22:03:30 +0000 (15:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 May 2018 16:54:03 +0000 (18:54 +0200)
commitc024722ffecd484fcb35ad61e822c214b6913196
treed3bb52d83383d05fe2c00414a5ffd4d5a88e852f
parent87895ae1e9b22a04441992921b79b6d32e22142a
x86/bugs: Make boot modes __ro_after_init

commit f9544b2b076ca90d887c5ae5d74fab4c21bb7c13 upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/bugs.c