mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/intel: Move mcu_opt_ctrl_* into __ro_after_init
They're only modified by set_in_mcu_opt_ctrl() which is an __init function. No functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
a1ce987411
commit
88b4ea080c
1 file changed
+2
-2
@@ -21,8 +21,8 @@
|
||||
* MSR_MCU_OPT_CTRL is a collection of unrelated functionality, with separate
|
||||
* enablement requirements, but which want to be consistent across the system.
|
||||
*/
|
||||
static uint32_t __read_mostly mcu_opt_ctrl_mask;
|
||||
static uint32_t __read_mostly mcu_opt_ctrl_val;
|
||||
static uint32_t __ro_after_init mcu_opt_ctrl_mask;
|
||||
static uint32_t __ro_after_init mcu_opt_ctrl_val;
|
||||
|
||||
void update_mcu_opt_ctrl(void)
|
||||
{
|
||||
|
||||