projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm64: kernel: Adding arch_cpu_idle_enter/exit()
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm64
/
kernel
/
process.c
diff --git
a/arch/arm64/kernel/process.c
b/arch/arm64/kernel/process.c
index c09f85f80a9e8dc71a97889c2c9451ae440ced32..c419e4814ba7eb2290dd98041b5c76ef88a3c6bb 100644
(file)
--- a/
arch/arm64/kernel/process.c
+++ b/
arch/arm64/kernel/process.c
@@
-447,3
+447,13
@@
unsigned long randomize_et_dyn(unsigned long base)
{
return randomize_base(base);
}
+
+void arch_cpu_idle_enter(void)
+{
+ idle_notifier_call_chain(IDLE_START);
+}
+
+void arch_cpu_idle_exit(void)
+{
+ idle_notifier_call_chain(IDLE_END);
+}