.. | .. |
---|
8 | 8 | |
---|
9 | 9 | extern int sched_cpu_starting(unsigned int cpu); |
---|
10 | 10 | extern int sched_cpu_activate(unsigned int cpu); |
---|
| 11 | +extern int sched_cpus_activate(struct cpumask *cpus); |
---|
11 | 12 | extern int sched_cpu_deactivate(unsigned int cpu); |
---|
| 13 | +extern int sched_cpus_deactivate_nosync(struct cpumask *cpus); |
---|
| 14 | +extern int sched_cpu_drain_rq(unsigned int cpu); |
---|
| 15 | +extern void sched_cpu_drain_rq_wait(unsigned int cpu); |
---|
12 | 16 | |
---|
13 | 17 | #ifdef CONFIG_HOTPLUG_CPU |
---|
| 18 | +extern int sched_cpu_wait_empty(unsigned int cpu); |
---|
14 | 19 | extern int sched_cpu_dying(unsigned int cpu); |
---|
15 | 20 | #else |
---|
| 21 | +# define sched_cpu_wait_empty NULL |
---|
16 | 22 | # define sched_cpu_dying NULL |
---|
17 | 23 | #endif |
---|
18 | 24 | |
---|