mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'pm-cpufreq'
Merge cpufreq changes for 4.19. These are driver extensions, some driver and core fixes and a new tracepoint for the tracking of frequency limits changes (coming from Android). * pm-cpufreq: cpufreq: intel_pstate: Ignore turbo active ratio in HWP cpufreq: Fix a circular lock dependency problem cpu/hotplug: Add a cpus_read_trylock() function cpufreq: trace frequency limits change cpufreq: intel_pstate: Show different max frequency with turbo 3 and HWP cpufreq: pcc-cpufreq: Disable dynamic scaling on many-CPU systems cpufreq: qcom-kryo: Silently error out on EPROBE_DEFER cpufreq / CPPC: Add cpuinfo_cur_freq support for CPPC cpufreq: armada-37xx: Add AVS support dt-bindings: marvell: Add documentation for the Armada 3700 AVS binding cpufreq: imx6q/thermal: imx: register cooling device depending on OF cpufreq: intel_pstate: use match_string() helper
This commit is contained in:
commit
7425ecd5e3
13 changed files with 342 additions and 20 deletions
|
|
@ -290,6 +290,12 @@ void cpus_read_lock(void)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(cpus_read_lock);
|
||||
|
||||
int cpus_read_trylock(void)
|
||||
{
|
||||
return percpu_down_read_trylock(&cpu_hotplug_lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(cpus_read_trylock);
|
||||
|
||||
void cpus_read_unlock(void)
|
||||
{
|
||||
percpu_up_read(&cpu_hotplug_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue