Commit 9b8d6cea authored by Johannes Berg's avatar Johannes Berg Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: um: Fix build w/o CONFIG_PM_SLEEP



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.

Bug: 176213565
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
(cherry picked from commit 1fb1abc8)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I6dcb48fd5d6f338f16a4993588eb2b10656fd5c5
parent 1a343144
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment