Commit 5b689324 authored by Viresh Kumar's avatar Viresh Kumar Committed by Chromeos LUCI
Browse files

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: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: default avatarRafael 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: default avatarMasami Hiramatsu <mhiramat@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3939322


Reviewed-by: default avatarSuleiman Souhlal <suleiman@chromium.org>
parent ff7e4bf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment