diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-12-14 20:51:02 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-12-14 21:15:32 +0100 |
commit | 1fb1abc83636f5329c26cd29f0f19f3faeb697a5 (patch) | |
tree | d043a003bed1826d4fdbb86ed314a47c39d20c96 /drivers/char/hw_random | |
parent | 11385539c024b6071dce538123a2043a8f52c9a1 (diff) |
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.
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>
Diffstat (limited to 'drivers/char/hw_random')
0 files changed, 0 insertions, 0 deletions