summaryrefslogtreecommitdiff
path: root/kernel/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r--kernel/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 6e995438287a..f2d0575f9a33 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -728,6 +728,7 @@ void init_cpu_online(const struct cpumask *src)
}
static ATOMIC_NOTIFIER_HEAD(idle_notifier);
+
void idle_notifier_register(struct notifier_block *n)
{
atomic_notifier_chain_register(&idle_notifier, n);