mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/HWP: adjust feature_hdc's section annotation
The variable can be cleared (set to false) by a non-init function's error path (hwp_init_msrs()). Fixes:99c4570f82("cpufreq: Add Hardware P-State (HWP) driver") Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jason Andryuk <jason.andryuk@amd.com> master commit:4676e09b3cmaster date: 2025-10-13 10:41:35 +0200
This commit is contained in:
1 parent
f9aea52a97
commit
040e8cc14d
1 file changed
+1
-1
@@ -17,7 +17,7 @@ static bool __ro_after_init hwp_in_use;
|
||||
static bool __ro_after_init feature_hwp_notification;
|
||||
static bool __ro_after_init feature_hwp_activity_window;
|
||||
|
||||
static bool __ro_after_init feature_hdc;
|
||||
static bool __read_mostly feature_hdc;
|
||||
|
||||
static bool __ro_after_init opt_cpufreq_hdc = true;
|
||||
|
||||
|
||||