X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=include%2Flinux%2Fsched.h;h=8395e715809d382bb7f3a5ed7087173e99cd15d2;hb=a39b863342b8aba52390092be95db58f6ed56061;hp=0a1094d84b776d1de7e4e7bb84466bca987f0cd2;hpb=b0f4b285d7ed174804658539129a834270f4829a;p=linux-2.6-block.git diff --git a/include/linux/sched.h b/include/linux/sched.h index 0a1094d84b77..8395e715809d 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -260,8 +260,6 @@ static inline int select_nohz_load_balancer(int cpu) } #endif -extern unsigned long rt_needs_cpu(int cpu); - /* * Only dump TASK_* tasks. (0 for all tasks) */ @@ -669,8 +667,7 @@ struct reclaim_state; struct sched_info { /* cumulative counters */ unsigned long pcount; /* # of times run on this cpu */ - unsigned long long cpu_time, /* time spent on the cpu */ - run_delay; /* time spent waiting on a runqueue */ + unsigned long long run_delay; /* time spent waiting on a runqueue */ /* timestamps */ unsigned long long last_arrival,/* when we last ran on a cpu */ @@ -2210,6 +2207,7 @@ extern void normalize_rt_tasks(void); extern struct task_group init_task_group; #ifdef CONFIG_USER_SCHED extern struct task_group root_task_group; +extern void set_tg_uid(struct user_struct *user); #endif extern struct task_group *sched_create_group(struct task_group *parent);