diff options
author | Colin Cross <ccross@android.com> | 2011-01-28 19:32:31 -0800 |
---|---|---|
committer | Dima Zavin <dima@android.com> | 2011-02-03 14:11:39 -0800 |
commit | 1fdabcaa037f4d7df8da1ccdefacb8f7055153bb (patch) | |
tree | 7bb0445db10fedb81efc6fbb80fdac1d41985d33 /arch/arm/vfp/entry.S | |
parent | b34df6e19108dfc5a47c60be051c0af77e5ae40a (diff) | |
download | experimental-1fdabcaa037f4d7df8da1ccdefacb8f7055153bb.tar.gz |
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/vfp/entry.S')
0 files changed, 0 insertions, 0 deletions