Vitaly Kuznetsov
fa26d0c778
ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m
...
Commit 8cdddd182b ("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 when CONFIG_ACPI_PROCESSOR=m build fails.
The issue could've been fixed by exporting both wakeup_cpu0()/start_cpu0()
(the later from assembly) but it seems putting the whole pattern into a
new function and exporting it instead is better.
Reported-by: kernel test robot <lkp@intel.com >
Fixes: 8cdddd182b ("CPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()")
Cc: <stable@vger.kernel.org > # 5.10+
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2021-04-07 19:02:43 +02:00
..
2021-03-24 14:50:54 +01:00
2021-02-05 13:50:51 +01:00
2021-01-27 12:26:24 +00:00
2020-11-10 18:52:51 +01:00
2021-01-11 12:56:49 -08:00
2020-10-14 11:42:04 -07:00
2020-09-15 19:40:59 +02:00
2021-01-07 17:41:28 +01:00
2021-02-04 19:45:45 +01:00
2019-06-23 09:23:33 +02:00
2020-09-25 12:48:11 +02:00
2020-09-25 18:25:51 +02:00
2021-01-22 16:35:34 +01:00
2020-11-17 18:12:34 +01:00
2020-10-02 19:01:55 +02:00
2021-01-29 19:24:13 +01:00
2019-05-30 11:26:41 -07:00
2020-05-09 11:29:16 +02:00
2020-10-15 10:46:16 -07:00
2020-10-16 11:11:18 -07:00
2021-01-22 16:17:19 +01:00
2020-09-25 18:25:51 +02:00
2020-12-15 19:30:49 +01:00
2020-10-16 18:11:27 +02:00
2021-01-22 16:17:19 +01:00
2021-02-04 19:45:46 +01:00
2020-11-17 18:06:29 +01:00
2021-02-04 19:45:45 +01:00
2021-01-22 16:17:19 +01:00
2019-07-11 22:45:00 +02:00
2021-02-20 21:50:59 -08:00
2021-02-04 19:45:46 +01:00
2020-09-25 18:25:51 +02:00
2021-01-22 16:28:19 +01:00
2020-09-25 18:25:51 +02:00
2020-09-25 18:25:51 +02:00
2021-02-04 19:11:43 +01:00
2021-02-15 17:04:40 +01:00
2021-01-22 16:17:19 +01:00
2019-06-19 17:09:52 +02:00
2020-11-23 20:01:01 +01:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:25:20 +01:00
2020-11-16 15:18:38 +01:00
2019-06-05 17:37:16 +02:00
2019-05-30 11:26:41 -07:00
2021-03-22 17:45:53 +01:00
2019-06-19 17:09:55 +02:00
2019-07-08 11:01:13 -07:00
2021-02-25 18:57:40 +01:00
2021-02-25 18:57:40 +01:00
2019-06-05 17:37:16 +02:00
2019-11-13 11:12:08 +01:00
2021-02-10 19:09:43 +01:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:08:06 +01:00
2021-01-27 09:38:36 -06:00
2020-09-25 18:25:51 +02:00
2021-02-24 14:52:41 +01:00
2021-02-15 17:04:53 +01:00
2020-01-07 11:46:36 +01:00
2020-09-25 18:25:51 +02:00
2020-09-25 18:25:51 +02:00
2019-10-21 02:05:21 +02:00
2021-04-07 19:02:43 +02:00
2020-12-22 14:12:10 -08:00
2020-11-17 18:12:34 +01:00
2020-11-17 18:12:34 +01:00
2021-02-12 15:34:14 +01:00
2020-10-16 18:04:52 +02:00
2020-12-15 16:39:06 -08:00
2020-11-17 18:12:34 +01:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:08:06 +01:00
2021-03-30 21:36:20 +02:00
2020-12-17 20:30:02 +01:00
2020-12-17 20:30:02 +01:00
2020-07-09 14:09:28 +02:00
2021-02-04 19:45:46 +01:00
2021-03-29 19:26:04 +02:00
2021-02-22 09:39:11 -08:00
2020-11-17 18:12:34 +01:00
2021-02-21 14:10:36 -08:00
2021-03-19 17:42:41 +01:00
2020-11-09 19:08:06 +01:00