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:
3fa8749
)
x86 allow modules to register idle notifiers
author
Venkatesh Pallipadi
<venkatesh.pallipadi@intel.com>
Thu, 16 Oct 2008 20:34:43 +0000
(16:34 -0400)
committer
Len Brown
<len.brown@intel.com>
Wed, 22 Oct 2008 03:58:20 +0000
(23:58 -0400)
needed if the i7300_idle driver is to be modular.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/process_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/process_64.c
b/arch/x86/kernel/process_64.c
index e12e0e4dd2566c2959623d4475053c5fcbcd65d3..3e3d503eadcfc0a5f9d7259b5a0ece74ff38ee9d 100644
(file)
--- a/
arch/x86/kernel/process_64.c
+++ b/
arch/x86/kernel/process_64.c
@@
-62,6
+62,13
@@
void idle_notifier_register(struct notifier_block *n)
{
atomic_notifier_chain_register(&idle_notifier, n);
}
+EXPORT_SYMBOL_GPL(idle_notifier_register);
+
+void idle_notifier_unregister(struct notifier_block *n)
+{
+ atomic_notifier_chain_unregister(&idle_notifier, n);
+}
+EXPORT_SYMBOL_GPL(idle_notifier_unregister);
void enter_idle(void)
{