From: Todd Poynor Date: Thu, 16 Jun 2011 00:44:50 +0000 (-0700) Subject: ARM: Call idle notifiers X-Git-Tag: firefly_0821_release~4090^2~819 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6e97e69a7735d3fdc231cb50fe055dbaf1faec48;p=firefly-linux-kernel-4.4.55.git ARM: Call idle notifiers Change-Id: Id833e61c13baa1783705ac9e9046d1f0cc90c95e Acked-by: Nicolas Pitre Signed-off-by: Todd Poynor --- diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 578f6780202e..09f001a10946 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -185,6 +185,7 @@ void arch_cpu_idle_prepare(void) void arch_cpu_idle_enter(void) { + idle_notifier_call_chain(IDLE_START); ledtrig_cpu(CPU_LED_IDLE_START); #ifdef CONFIG_PL310_ERRATA_769419 wmb(); @@ -194,6 +195,7 @@ void arch_cpu_idle_enter(void) void arch_cpu_idle_exit(void) { ledtrig_cpu(CPU_LED_IDLE_END); + idle_notifier_call_chain(IDLE_END); } #ifdef CONFIG_HOTPLUG_CPU