]> Git Repo - linux.git/blob - include/linux/sched/hotplug.h
Merge tag 'fbdev-v4.14' of git://github.com/bzolnier/linux
[linux.git] / include / linux / sched / hotplug.h
1 #ifndef _LINUX_SCHED_HOTPLUG_H
2 #define _LINUX_SCHED_HOTPLUG_H
3
4 /*
5  * Scheduler interfaces for hotplug CPU support:
6  */
7
8 extern int sched_cpu_starting(unsigned int cpu);
9 extern int sched_cpu_activate(unsigned int cpu);
10 extern int sched_cpu_deactivate(unsigned int cpu);
11
12 #ifdef CONFIG_HOTPLUG_CPU
13 extern int sched_cpu_dying(unsigned int cpu);
14 #else
15 # define sched_cpu_dying        NULL
16 #endif
17
18 #ifdef CONFIG_HOTPLUG_CPU
19 extern void idle_task_exit(void);
20 #else
21 static inline void idle_task_exit(void) {}
22 #endif
23
24 #endif /* _LINUX_SCHED_HOTPLUG_H */
This page took 0.034637 seconds and 4 git commands to generate.