summaryrefslogtreecommitdiff
path: root/include/linux/sched/hotplug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/hotplug.h')
-rw-r--r--include/linux/sched/hotplug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched/hotplug.h b/include/linux/sched/hotplug.h
index 9a62ffdd296f..412cdaba33eb 100644
--- a/include/linux/sched/hotplug.h
+++ b/include/linux/sched/hotplug.h
@@ -11,8 +11,10 @@ extern int sched_cpu_activate(unsigned int cpu);
extern int sched_cpu_deactivate(unsigned int cpu);
#ifdef CONFIG_HOTPLUG_CPU
+extern int sched_cpu_wait_empty(unsigned int cpu);
extern int sched_cpu_dying(unsigned int cpu);
#else
+# define sched_cpu_wait_empty NULL
# define sched_cpu_dying NULL
#endif