From b70caa37d32eb5851f4fc7a47776893fd3eb1c6b Mon Sep 17 00:00:00 2001 From: Satya Durga Srinivasu Prabhala Date: Mon, 21 Jan 2019 12:48:49 -0800 Subject: [PATCH] sched: Fix compilation issues for !CONFIG_SCHED_WALT Below compilation issues are observed when CONFIG_SCHED_WALT is disabled. 1. kernel/sched/cpufreq_schedutil.c:408:23: \ error: implicit declaration of function 'boosted_cpu_util' 2. kernel/sched/core_ctl.c:1291:2: \ error: implicit declaration of function 'for_each_sched_cluster' Fix these compilation issues by adding/updating proper checks and dependencies as needed. Change-Id: I59d3714a9fca0ff58758ec974f50eb5f3f00ae98 Signed-off-by: Satya Durga Srinivasu Prabhala --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 93b1927e54ff..a25ca53c1e3d 100755 --- a/init/Kconfig +++ b/init/Kconfig @@ -1007,7 +1007,7 @@ endif # CGROUPS config SCHED_CORE_CTL bool "QTI Core Control" - depends on SMP + depends on SMP && SCHED_WALT help This options enables the core control functionality in the scheduler. Core control automatically offline and