mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
Merge back cpufreq changes for 4.19.
This commit is contained in:
commit
6ccbe1dcdd
13 changed files with 340 additions and 19 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