diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 14 |
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 | ||
2503 | extern void normalize_rt_tasks(void); | 2495 | extern void normalize_rt_tasks(void); |
2504 | 2496 | ||
2505 | #ifdef CONFIG_GROUP_SCHED | 2497 | #ifdef CONFIG_CGROUP_SCHED |
2506 | 2498 | ||
2507 | extern struct task_group init_task_group; | 2499 | extern struct task_group init_task_group; |
2508 | #ifdef CONFIG_USER_SCHED | ||
2509 | extern struct task_group root_task_group; | ||
2510 | extern void set_tg_uid(struct user_struct *user); | ||
2511 | #endif | ||
2512 | 2500 | ||
2513 | extern struct task_group *sched_create_group(struct task_group *parent); | 2501 | extern struct task_group *sched_create_group(struct task_group *parent); |
2514 | extern void sched_destroy_group(struct task_group *tg); | 2502 | extern void sched_destroy_group(struct task_group *tg); |