OSDN Git Service

sched: Add Kconfig option DEFAULT_USE_ENERGY_AWARE to set ENERGY_AWARE feature flag
authorJohn Stultz <john.stultz@linaro.org>
Wed, 21 Sep 2016 01:42:22 +0000 (18:42 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Wed, 21 Sep 2016 21:29:06 +0000 (14:29 -0700)
commit53c63d3b4f06e31269d66173d327164f273e4233
treee6d1f8a4c7a259c5bf6e13b346ab818a561775f7
parentdf232437710122fcb4e4a0484a1eded5aec29a6a
sched: Add Kconfig option DEFAULT_USE_ENERGY_AWARE to set ENERGY_AWARE feature flag

The ENERGY_AWARE sched feature flag cannot be set unless
CONFIG_SCHED_DEBUG is enabled.

So this patch allows the flag to default to true at build time
if the config is set.

Change-Id: I8835a571fdb7a8f8ee6a54af1e11a69f3b5ce8e6
Signed-off-by: John Stultz <john.stultz@linaro.org>
init/Kconfig
kernel/sched/features.h