Re: [PATCH v2] ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m

2021-04-06 Thread Rafael J. Wysocki
On Tue, Apr 6, 2021 at 5:39 PM Vitaly Kuznetsov wrote: > > "Rafael J. Wysocki" writes: > > > On Tue, Apr 6, 2021 at 4:01 PM Vitaly Kuznetsov wrote: > >> > >> Commit 8c182bd7 ("ACPI: processor: Fix CPU0 wakeup in > >> acpi_idle_play_dead()") tried to fix CPU0 hotplug breakage by copying > >>

Re: [PATCH v2] ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m

2021-04-06 Thread Vitaly Kuznetsov
"Rafael J. Wysocki" writes: > On Tue, Apr 6, 2021 at 4:01 PM Vitaly Kuznetsov wrote: >> >> Commit 8c182bd7 ("ACPI: processor: Fix CPU0 wakeup in >> acpi_idle_play_dead()") tried to fix CPU0 hotplug breakage by copying >> wakeup_cpu0() + start_cpu0() logic from

Re: [PATCH v2] ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m

2021-04-06 Thread Rafael J. Wysocki
On Tue, Apr 6, 2021 at 4:01 PM Vitaly Kuznetsov wrote: > > Commit 8c182bd7 ("ACPI: processor: Fix CPU0 wakeup in > acpi_idle_play_dead()") tried to fix CPU0 hotplug breakage by copying > wakeup_cpu0() + start_cpu0() logic from hlt_play_dead()//mwait_play_dead() > into acpi_idle_play_dead().

[PATCH v2] ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m

2021-04-06 Thread Vitaly Kuznetsov
Commit 8c182bd7 ("ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()") tried to fix CPU0 hotplug breakage by copying wakeup_cpu0() + start_cpu0() logic from hlt_play_dead()//mwait_play_dead() into acpi_idle_play_dead(). The problem is that these functions are not exported to modules so