diff options
author | Colin Cross <ccross@android.com> | 2011-01-28 19:32:31 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:09:51 -0700 |
commit | d20e6ae8aceb712a3c74263f17c28ca63bb2a677 (patch) | |
tree | 3fe4a1911955b5fe41ca8602fc4845de7a845caf /arch/arm/kernel/entry-armv.S | |
parent | 8e42bee3ab6a46c6ac8c9754efb3dde29b9762b2 (diff) |
cpufreq: Prevent memory leak in cpufreq_stats on hotplug
Ensures that cpufreq_stats_free_table is called before
__cpufreq_remove_dev on cpu hotplug (which also occurs during
suspend on SMP systems) to make sure that sysfs_remove_group
can get called before the cpufreq kobj is freed. Otherwise,
the sysfs file structures are leaked.
Change-Id: I87e55277272f5cfad47e9e7c92630e990bb90069
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/kernel/entry-armv.S')
0 files changed, 0 insertions, 0 deletions