Johannes Berg ed2bf5cee6 um: Fix build w/o CONFIG_PM_SLEEP
commit 1fb1abc83636f5329c26cd29f0f19f3faeb697a5 upstream.

uml_pm_wake() is unconditionally called from the SIGUSR1 wakeup
handler since that's in the userspace portion of UML, and thus
a bit tricky to ifdef out. Since pm_system_wakeup() can always
be called (but may be an empty inline), also simply always have
uml_pm_wake() to fix the build.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-21 15:45:41 +02:00
..
2021-05-22 11:40:53 +02:00
2021-05-22 11:40:53 +02:00
2020-10-11 23:19:35 +02:00
2020-10-11 23:25:07 +02:00
2020-12-30 11:54:17 +01:00
2023-06-21 15:45:41 +02:00
2021-05-22 11:40:53 +02:00
2023-03-17 08:45:17 +01:00