mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[CPUFREQ] fix cpumask memory leak in acpi-cpufreq on cpu hotplug.
I came across a memory leak during a cyclic cpu-online-offline test. Signed-off-by: Yu Luming <[email protected]> Cc: Len Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dave Jones <[email protected]>
This commit is contained in:
parent
bccaeafd7c
commit
50f4ddd4ff
1 changed files with 1 additions and 1 deletions
|
|
@ -759,7 +759,7 @@ static void __exit acpi_cpufreq_exit(void)
|
|||
|
||||
cpufreq_unregister_driver(&acpi_cpufreq_driver);
|
||||
|
||||
free_percpu(acpi_perf_data);
|
||||
free_acpi_perf_data();
|
||||
}
|
||||
|
||||
module_param(acpi_pstate_strict, uint, 0644);
|
||||
|
|
|
|||
Loading…
Reference in a new issue