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.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 50d685cde70e..8b079735ae5f 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -731,14 +731,6 @@ struct user_struct {
731 uid_t uid; 731 uid_t uid;
732 struct user_namespace *user_ns; 732 struct user_namespace *user_ns;
733 733
734#ifdef CONFIG_USER_SCHED
735 struct task_group *tg;
736#ifdef CONFIG_SYSFS
737 struct kobject kobj;
738 struct delayed_work work;
739#endif
740#endif
741
742#ifdef CONFIG_PERF_EVENTS 734#ifdef CONFIG_PERF_EVENTS
743 atomic_long_t locked_vm; 735 atomic_long_t locked_vm;
744#endif 736#endif
@@ -2502,13 +2494,9 @@ extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
2502 2494
2503extern void normalize_rt_tasks(void); 2495extern void normalize_rt_tasks(void);
2504 2496
2505#ifdef CONFIG_GROUP_SCHED 2497#ifdef CONFIG_CGROUP_SCHED
2506 2498
2507extern struct task_group init_task_group; 2499extern struct task_group init_task_group;
2508#ifdef CONFIG_USER_SCHED
2509extern struct task_group root_task_group;
2510extern void set_tg_uid(struct user_struct *user);
2511#endif
2512 2500
2513extern struct task_group *sched_create_group(struct task_group *parent); 2501extern struct task_group *sched_create_group(struct task_group *parent);
2514extern void sched_destroy_group(struct task_group *tg); 2502extern void sched_destroy_group(struct task_group *tg);