ANDROID: sched: time: Export symbols needed for schedutil module

Export symbols needed to allow building a schedutil-based vendor module
with GKI.

This is a small price to pay to give vendors the flexibility they need,
and avoids littering cpufreq_schedutil.c with many vendor hooks.

Bug: 170511085
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: I8ff8bdb32df5d47124236819efba881c1a2a538d
(cherry picked from commit 34cd6916744b8b2d2107d2d5f10cbacb181e4f6c)
(cherry picked from commit 7587bc9dcf5a0710e7a3b662f763a1028687dfab)
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Quentin Perret
2021-01-22 10:42:02 +00:00
committed by Palmer Dabbelt
parent 0d61a651e4
commit d498075b65
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -75,3 +75,4 @@ bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy)
(policy->dvfs_possible_from_any_cpu &&
rcu_dereference_sched(*this_cpu_ptr(&cpufreq_update_util_data)));
}
EXPORT_SYMBOL_GPL(cpufreq_this_cpu_can_update);
+1
View File
@@ -1127,6 +1127,7 @@ unsigned long tick_nohz_get_idle_calls_cpu(int cpu)
return ts->idle_calls;
}
EXPORT_SYMBOL_GPL(tick_nohz_get_idle_calls_cpu);
/**
* tick_nohz_get_idle_calls - return the current idle calls counter value