summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-05-11 15:05:57 -0700
committerJeevan Shriram <jshriram@codeaurora.org>2016-05-16 20:10:32 -0700
commitc0cc65346e4a7c245b40b38583f134d9c258bf92 (patch)
treece4ee584b5851370fb9fd1c9335affe6ee918cc4
parente3d502ee5986e80d659beacb917bdde571159f90 (diff)
sched: use correct Kconfig macro name CONFIG_SCHED_HMP_CSTATE_AWARE
Fix macro name so CONFIG_SCHED_HMP_CSTATE_AWARE=y to take effect. Change-Id: I0218b36b2d74974f50a173a0ac3bc59156c57624 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
-rw-r--r--kernel/sched/fair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index ec418d9cf361..0288a331e311 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -3398,7 +3398,7 @@ next_best_cluster(struct sched_cluster *cluster, struct cpu_select_env *env,
return next;
}
-#ifdef SCHED_HMP_CSTATE_AWARE
+#ifdef CONFIG_SCHED_HMP_CSTATE_AWARE
static void __update_cluster_stats(int cpu, struct cluster_cpu_stats *stats,
struct cpu_select_env *env, int cpu_cost)
{
@@ -3461,7 +3461,7 @@ static void __update_cluster_stats(int cpu, struct cluster_cpu_stats *stats,
stats->best_cpu = cpu;
}
}
-#else /* SCHED_HMP_CSTATE_AWARE */
+#else /* CONFIG_SCHED_HMP_CSTATE_AWARE */
static void __update_cluster_stats(int cpu, struct cluster_cpu_stats *stats,
struct cpu_select_env *env, int cpu_cost)
{