aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h6
1 files changed, 2 insertions, 4 deletions
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)
260} 260}
261#endif 261#endif
262 262
263extern unsigned long rt_needs_cpu(int cpu);
264
265/* 263/*
266 * Only dump TASK_* tasks. (0 for all tasks) 264 * Only dump TASK_* tasks. (0 for all tasks)
267 */ 265 */
@@ -669,8 +667,7 @@ struct reclaim_state;
669struct sched_info { 667struct sched_info {
670 /* cumulative counters */ 668 /* cumulative counters */
671 unsigned long pcount; /* # of times run on this cpu */ 669 unsigned long pcount; /* # of times run on this cpu */
672 unsigned long long cpu_time, /* time spent on the cpu */ 670 unsigned long long run_delay; /* time spent waiting on a runqueue */
673 run_delay; /* time spent waiting on a runqueue */
674 671
675 /* timestamps */ 672 /* timestamps */
676 unsigned long long last_arrival,/* when we last ran on a cpu */ 673 unsigned long long last_arrival,/* when we last ran on a cpu */
@@ -2210,6 +2207,7 @@ extern void normalize_rt_tasks(void);
2210extern struct task_group init_task_group; 2207extern struct task_group init_task_group;
2211#ifdef CONFIG_USER_SCHED 2208#ifdef CONFIG_USER_SCHED
2212extern struct task_group root_task_group; 2209extern struct task_group root_task_group;
2210extern void set_tg_uid(struct user_struct *user);
2213#endif 2211#endif
2214 2212
2215extern struct task_group *sched_create_group(struct task_group *parent); 2213extern struct task_group *sched_create_group(struct task_group *parent);