projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90fbee8
)
ARM: Call idle notifiers
author
Todd Poynor
<toddpoynor@google.com>
Thu, 16 Jun 2011 00:44:50 +0000
(17:44 -0700)
committer
John Stultz
<john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:32 +0000
(13:52 -0800)
Change-Id: Id833e61c13baa1783705ac9e9046d1f0cc90c95e
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
arch/arm/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/process.c
b/arch/arm/kernel/process.c
index 4adfb46e3ee93276ea506b723eb11e33c57459f4..b208a85012f55471f770d76127b2dc4f223e3984 100644
(file)
--- a/
arch/arm/kernel/process.c
+++ b/
arch/arm/kernel/process.c
@@
-80,6
+80,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();
@@
-89,6
+90,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);
}
void __show_regs(struct pt_regs *regs)