Commit c7d87d79 authored by Venkatesh Pallipadi's avatar Venkatesh Pallipadi Committed by Len Brown

x86 allow modules to register idle notifiers

needed if the i7300_idle driver is to be modular.
Signed-off-by: default avatarVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Acked-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 3fa8749e
...@@ -62,6 +62,13 @@ void idle_notifier_register(struct notifier_block *n) ...@@ -62,6 +62,13 @@ void idle_notifier_register(struct notifier_block *n)
{ {
atomic_notifier_chain_register(&idle_notifier, 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) void enter_idle(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment