mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
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 7587bc9dcf)
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
0d61a651e4
commit
d498075b65
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user