Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dae5cbc2 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM: Make sysrq-o be available for CONFIG_PM unset



After commit 1eb208ae, "PM: Make
CONFIG_PM depend on (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME)", the
files under kernel/power are not built unless CONFIG_PM_SLEEP or
CONFIG_PM_RUNTIME is set.  In particular, this causes
kernel/power/poweroff.c to be omitted, even though it should be
compiled, because CONFIG_MAGIC_SYSRQ is set.

Fix the problem by causing kernel/power/Makefile to be processed
for CONFIG_PM unset too.

Reported-and-tested-by: default avatarPhil Oester <kernel@linuxace.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 96e80a78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment