diff options
| author | Huisong Li <lihuisong@huawei.com> | 2026-03-11 14:50:37 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-03-11 19:26:13 +0100 |
| commit | 1f23194c8b8208bf3a43beb6c97d4c843197b6f6 (patch) | |
| tree | f90a012e93a3082662f08c3b165dad6fe32bc51d /arch/ppc/git@git.tavy.me:linux.git | |
| parent | db19103ea847ed139da59a2fb71773081c12cd40 (diff) | |
ACPI: processor: idle: Move max_cstate update out of the loop
The acpi_processor_cstate_first_run_checks() function, which updates
max_cstate on certain platforms, only needs to be executed once.
Move this call outside of the loop to avoid redundant executions.
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Link: https://patch.msgid.link/20260311065038.4151558-3-lihuisong@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/ppc/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
