diff options
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 0846f1f9e1..b07a2cf764 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -847,6 +847,7 @@ struct sched_class { | |||
| 847 | void (*set_curr_task) (struct rq *rq); | 847 | void (*set_curr_task) (struct rq *rq); |
| 848 | void (*task_tick) (struct rq *rq, struct task_struct *p); | 848 | void (*task_tick) (struct rq *rq, struct task_struct *p); |
| 849 | void (*task_new) (struct rq *rq, struct task_struct *p); | 849 | void (*task_new) (struct rq *rq, struct task_struct *p); |
| 850 | void (*set_cpus_allowed)(struct task_struct *p, cpumask_t *newmask); | ||
| 850 | }; | 851 | }; |
| 851 | 852 | ||
| 852 | struct load_weight { | 853 | struct load_weight { |
| @@ -956,6 +957,7 @@ struct task_struct { | |||
| 956 | 957 | ||
| 957 | unsigned int policy; | 958 | unsigned int policy; |
| 958 | cpumask_t cpus_allowed; | 959 | cpumask_t cpus_allowed; |
| 960 | int nr_cpus_allowed; | ||
| 959 | unsigned int time_slice; | 961 | unsigned int time_slice; |
| 960 | 962 | ||
| 961 | #if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) | 963 | #if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) |
