Loading
cpufreq: intel_pstate: Use __ro_after_init for three variables
mainline inclusion from mainline-v6.10 commit e97a98238da68aea4a0be0b2cc40e39527c880b1 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QC4 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e97a98238da68aea4a0be0b2cc40e39527c880b1 ------------------------------------------------- Intel-SIG: commit e97a98238da6 cpufreq: intel_pstate: Use __ro_after_init for three variables. Backport intel_pstate driver update for 6.6 from 6.11 There are at least 3 variables in intel_pstate that do not get updated after they have been initialized, so annotate them with __ro_after_init. Signed-off-by:Rafael J. Wysocki <rafael.j.wysocki@intel.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>