diff options
author | Rickard Andersson <rickard.andersson@stericsson.com> | 2012-02-02 17:40:01 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 10:59:35 +0200 |
commit | 4beb10c6332dfae9619a835a61f71d2b1437a21c (patch) | |
tree | d9da9b27e63d7cd5c1e285724f14b8f497b57b16 /drivers/gator/gator_annotate_kernel.c | |
parent | dfd8255a91199865480e10196ce49d57190f74ea (diff) |
cpufreq: ondemand: handle SW coordinated CPUs
This patch fixes a bug that occured when we had load on
a secondary CPU and the primary CPU was sleeping. Only
one sampling timer was spawned and it was spawned as a
deferred timer on the primary CPU, so when a secondary CPU
had a change in load this was not detected by the ondemand
governor.
This patch make sure that deferred timers are run on all
CPUs in the case of software controlled CPUs that run on
the same frequency.
Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com>
Reviewed-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ChangeLog v1->v2: forgot to include the refactorings for
cpu device rewrites, which is the version I actually tested,
mea culpa.
Diffstat (limited to 'drivers/gator/gator_annotate_kernel.c')
0 files changed, 0 insertions, 0 deletions