BACKPORT: sched/core: Move schedutil_cpu_util() to core.c
There is nothing schedutil specific in schedutil_cpu_util(), move it to core.c and define it only for CONFIG_SMP. Signed-off-by:Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lkml.kernel.org/r/c921a362c78e1324f8ebc5aaa12f53e309c5a8a2.1607400596.git.viresh.kumar@linaro.org (cherry picked from commit 7d6a905f) Conflicts: kernel/sched/cpufreq_schedutil.c BUG=b:249685960 TEST=Build Change-Id: I6adc5852c89abb6ce113713071da3724428bdccb Signed-off-by:
Masami Hiramatsu <mhiramat@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3939322 Reviewed-by:
Suleiman Souhlal <suleiman@chromium.org>
Loading
Please sign in to comment