]> Gentwo Git Trees - linux/.git/commit
ACPI: processor: idle: Relocate state flags initialization
authorHuisong Li <lihuisong@huawei.com>
Mon, 29 Sep 2025 09:37:49 +0000 (17:37 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 22 Oct 2025 14:47:40 +0000 (16:47 +0200)
commit945661d581c50cb67fc04291d374156f4d807fe3
tree6f0006a9fddec4b360f3bcaaab2e34d32b7a52e5
parent211ddde0823f1442e4ad052a2f30f050145ccada
ACPI: processor: idle: Relocate state flags initialization

Since acpi_processor_setup_cstates() is a more logical place for setting
idle state flags than acpi_processor_setup_cpuidle_cx(), move that code
from the latter to the former.

It also allows direct references to acpi_idle_driver in
acpi_processor_setup_cpuidle_cx() to be avoided.

No intentional functional impact.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
[ rjw: Subject and changelog rewrite ]
Link: https://patch.msgid.link/20250929093754.3998136-5-lihuisong@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c