diff options
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index cfb0d87b99fc..5d0819ee442a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -451,8 +451,8 @@ struct signal_struct { | |||
| 451 | * - everyone except group_exit_task is stopped during signal delivery | 451 | * - everyone except group_exit_task is stopped during signal delivery |
| 452 | * of fatal signals, group_exit_task processes the signal. | 452 | * of fatal signals, group_exit_task processes the signal. |
| 453 | */ | 453 | */ |
| 454 | struct task_struct *group_exit_task; | ||
| 455 | int notify_count; | 454 | int notify_count; |
| 455 | struct task_struct *group_exit_task; | ||
| 456 | 456 | ||
| 457 | /* thread group stop support, overloads group_exit_code too */ | 457 | /* thread group stop support, overloads group_exit_code too */ |
| 458 | int group_stop_count; | 458 | int group_stop_count; |
| @@ -824,6 +824,9 @@ struct sched_domain { | |||
| 824 | unsigned int ttwu_move_affine; | 824 | unsigned int ttwu_move_affine; |
| 825 | unsigned int ttwu_move_balance; | 825 | unsigned int ttwu_move_balance; |
| 826 | #endif | 826 | #endif |
| 827 | #ifdef CONFIG_SCHED_DEBUG | ||
| 828 | char *name; | ||
| 829 | #endif | ||
| 827 | }; | 830 | }; |
| 828 | 831 | ||
| 829 | extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new, | 832 | extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new, |
| @@ -897,7 +900,7 @@ struct sched_class { | |||
| 897 | void (*yield_task) (struct rq *rq); | 900 | void (*yield_task) (struct rq *rq); |
| 898 | int (*select_task_rq)(struct task_struct *p, int sync); | 901 | int (*select_task_rq)(struct task_struct *p, int sync); |
| 899 | 902 | ||
| 900 | void (*check_preempt_curr) (struct rq *rq, struct task_struct *p); | 903 | void (*check_preempt_curr) (struct rq *rq, struct task_struct *p, int sync); |
| 901 | 904 | ||
| 902 | struct task_struct * (*pick_next_task) (struct rq *rq); | 905 | struct task_struct * (*pick_next_task) (struct rq *rq); |
| 903 | void (*put_prev_task) (struct rq *rq, struct task_struct *p); | 906 | void (*put_prev_task) (struct rq *rq, struct task_struct *p); |
| @@ -1010,8 +1013,8 @@ struct sched_entity { | |||
| 1010 | 1013 | ||
| 1011 | struct sched_rt_entity { | 1014 | struct sched_rt_entity { |
| 1012 | struct list_head run_list; | 1015 | struct list_head run_list; |
| 1013 | unsigned int time_slice; | ||
| 1014 | unsigned long timeout; | 1016 | unsigned long timeout; |
| 1017 | unsigned int time_slice; | ||
| 1015 | int nr_cpus_allowed; | 1018 | int nr_cpus_allowed; |
| 1016 | 1019 | ||
| 1017 | struct sched_rt_entity *back; | 1020 | struct sched_rt_entity *back; |
| @@ -1475,6 +1478,10 @@ static inline void put_task_struct(struct task_struct *t) | |||
| 1475 | __put_task_struct(t); | 1478 | __put_task_struct(t); |
| 1476 | } | 1479 | } |
| 1477 | 1480 | ||
| 1481 | extern cputime_t task_utime(struct task_struct *p); | ||
| 1482 | extern cputime_t task_stime(struct task_struct *p); | ||
| 1483 | extern cputime_t task_gtime(struct task_struct *p); | ||
| 1484 | |||
| 1478 | /* | 1485 | /* |
| 1479 | * Per process flags | 1486 | * Per process flags |
| 1480 | */ | 1487 | */ |
