diff options
author | Luming Yu <luming.yu@gmail.com> | 2011-07-08 22:37:44 +0200 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2011-07-10 23:03:04 +0200 |
commit | 50f4ddd4ff713d2599e2f246775fe2206090126e (patch) | |
tree | 1e93892ff36aa6ca4b5c8d423cabe9a6488b2171 /drivers/cpufreq | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sha... (diff) | |
download | linux-50f4ddd4ff713d2599e2f246775fe2206090126e.tar.xz linux-50f4ddd4ff713d2599e2f246775fe2206090126e.zip |
[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 <luming.yu@intel.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/acpi-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/acpi-cpufreq.c index 4e04e1274388..596d5dd32f41 100644 --- a/drivers/cpufreq/acpi-cpufreq.c +++ b/drivers/cpufreq/acpi-cpufreq.c @@ -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); |