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)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 12 Oct 2016 12:04:22 +0000 (17:34 +0530)
commitfc1d6c8c6a6e7353147bcb02d0236db5714804d2
tree71b76416c0bd4829993bbed64f692f42afca6058
parentca4b83c5476f68cb0ead77c23775e7ef68a37058
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