[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] x86/intel: Move mcu_opt_ctrl_* into __ro_after_init
commit 88b4ea080cd2ee502b08754ed7adbd7ee5e30a89 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Wed Apr 30 16:18:13 2025 +0100 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Wed Apr 30 17:02:09 2025 +0100 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@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/x86/cpu/intel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/cpu/intel.c b/xen/arch/x86/cpu/intel.c index 63f65ea5b0..12c3ff65e0 100644 --- a/xen/arch/x86/cpu/intel.c +++ b/xen/arch/x86/cpu/intel.c @@ -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) { -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |