summaryrefslogtreecommitdiff
path: root/drivers/hv
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2012-12-14 08:04:07 +0530
committerJon Medhurst <tixy@linaro.org>2013-07-17 15:41:25 +0100
commit572ba82058db020eebf10edcf0abde05171c72e6 (patch)
tree3e34ff03d78285e7dc5721587a00df6b0cbc30eb /drivers/hv
parent0a490f52618107721d8705777e1b7be7e666ee5d (diff)
cpufreq: arm_big_little: Don't destroy/create freq table/clk for every cpu on/off
When a cpu goes down, exit would be called for it. Similarly for every cpu up init would be called. This would result in same freq table and clk structure to get freed/allocated again. There is no way for freq table/clk structures to change between these calls. Also, when we disable switcher, firstly cpufreq unregister would be called and hence exit for all cpus and then register would be called, i.e. init would be called. For saving time/energy for both cases, lets not free table/clk until module exit is not done. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions