Re: [PATCH v3 3/3] ACPI: processor: Do not expose the global acpi_idle_driver variable
From: lihuisong (C)
Date: Sun Sep 21 2025 - 21:22:32 EST
在 2025/9/19 5:22, Rafael J. Wysocki 写道:
On Thu, Sep 18, 2025 at 2:23 PM lihuisong (C) <lihuisong@xxxxxxxxxx> wrote:
You may as well rebase it on top of this one:
在 2025/9/18 4:01, Rafael J. Wysocki 写道:
On Thu, Sep 11, 2025 at 1:24 PM Huisong Li <lihuisong@xxxxxxxxxx> wrote:ok, will do it in next version. Thanks.
Currently, processor_driver just use the global acpi_idle_driver variableAnd it can also be made static, can't it?
to check if the cpuidle driver is acpi_idle_driver. Actually, there is no
need to expose this global variable defined in processor_idle.c to outside.
So move the related logical to acpi_processor_power_init() and do not
expose it.
https://lore.kernel.org/linux-acpi/5044465.31r3eYUQgx@rafael.j.wysocki/
Ok, will will fix it based your patch.
Thank you for the reminder.