You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
539 B
24 lines
539 B
#ifndef _LINUX_SCHED_HOTPLUG_H
|
|
#define _LINUX_SCHED_HOTPLUG_H
|
|
|
|
/*
|
|
* Scheduler interfaces for hotplug CPU support:
|
|
*/
|
|
|
|
extern int sched_cpu_starting(unsigned int cpu);
|
|
extern int sched_cpu_activate(unsigned int cpu);
|
|
extern int sched_cpu_deactivate(unsigned int cpu);
|
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
extern int sched_cpu_dying(unsigned int cpu);
|
|
#else
|
|
# define sched_cpu_dying NULL
|
|
#endif
|
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
extern void idle_task_exit(void);
|
|
#else
|
|
static inline void idle_task_exit(void) {}
|
|
#endif
|
|
|
|
#endif /* _LINUX_SCHED_HOTPLUG_H */
|
|
|