diff options
| author | Todd Poynor <toddpoynor@google.com> | 2011-06-15 17:44:50 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2012-04-09 13:57:52 -0700 |
| commit | 82a3b9c100f34967fed1ab892aa3a7446ce5e42f (patch) | |
| tree | 865141367f2d12c40a0b05fff537cd0f553f15e9 | |
| parent | a12d59168233eb1ef96732c4ee45890e96fa5550 (diff) | |
ARM: Call idle notifiers
Change-Id: Id833e61c13baa1783705ac9e9046d1f0cc90c95e
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
| -rw-r--r-- | arch/arm/kernel/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 3c5eb2607e8..3f7777e539b 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -245,6 +245,7 @@ void cpu_idle(void) /* endless idle loop with no priority at all */ while (1) { + idle_notifier_call_chain(IDLE_START); tick_nohz_idle_enter(); rcu_idle_enter(); leds_event(led_idle_start); @@ -281,6 +282,7 @@ void cpu_idle(void) leds_event(led_idle_end); rcu_idle_exit(); tick_nohz_idle_exit(); + idle_notifier_call_chain(IDLE_END); schedule_preempt_disabled(); } } |
