diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-12-02 14:04:55 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-12-02 14:04:55 +0800 |
commit | a6fb5ab0859f1f959bb3316bfd91844ca7b67eb6 (patch) | |
tree | 4c10b34f77a6795bccf049152fd18e96ff36f43e | |
parent | 849219c1c6a6a2126fa41acbb818b03ef43ea61d (diff) |
ARM: idle: update idle ticks before call idle end notifier
Such that interactive cpufreq governor uses up-to-date idle time
information.
Reported by Colin Cross <ccross@android.com>
Change-Id: I06425444f800f803afc9dc7a6ad0fdb46c918bb6
Signed-off-by: Todd Poynor <toddpoynor@google.com>
-rw-r--r-- | arch/arm/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 1baa2bd932c..ef837df51e7 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -253,8 +253,8 @@ void cpu_idle(void) local_irq_enable(); } } - idle_notifier_call_chain(IDLE_END); tick_nohz_restart_sched_tick(); + idle_notifier_call_chain(IDLE_END); preempt_enable_no_resched(); schedule(); preempt_disable(); |