diff options
-rw-r--r-- | arch/x86/kernel/process_64.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index e12e0e4dd256..3e3d503eadcf 100644 --- 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) | |||
62 | { | 62 | { |
63 | atomic_notifier_chain_register(&idle_notifier, n); | 63 | atomic_notifier_chain_register(&idle_notifier, n); |
64 | } | 64 | } |
65 | EXPORT_SYMBOL_GPL(idle_notifier_register); | ||
66 | |||
67 | void idle_notifier_unregister(struct notifier_block *n) | ||
68 | { | ||
69 | atomic_notifier_chain_unregister(&idle_notifier, n); | ||
70 | } | ||
71 | EXPORT_SYMBOL_GPL(idle_notifier_unregister); | ||
65 | 72 | ||
66 | void enter_idle(void) | 73 | void enter_idle(void) |
67 | { | 74 | { |