diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-12-13 01:23:56 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-01-09 10:54:10 +0800 |
commit | 6aa86595202eb61c2479cc8ec87db327f72830ce (patch) | |
tree | 6a12ed7e2287162047fc110f143d78cc50357657 | |
parent | 5c0e0451bf7ab410fd2b4a8606a9d415e83cc1b8 (diff) | |
download | imx53-6aa86595202eb61c2479cc8ec87db327f72830ce.tar.gz |
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(); |