diff options
author | Dhaval Giani <dhaval.giani@gmail.com> | 2010-01-20 07:26:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-21 07:40:18 -0500 |
commit | 7c9414385ebfdd87cc542d4e7e3bb0dbb2d3ce25 (patch) | |
tree | beb51d7d0d543d72e2754cff807df5c399f2d376 /include | |
parent | 871e35bc9733f273eaf5ceb69bbd0423b58e5285 (diff) |
sched: Remove USER_SCHED
Remove the USER_SCHED feature. It has been scheduled to be removed in
2.6.34 as per http://marc.info/?l=linux-kernel&m=125728479022976&w=2
Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1263990378.24844.3.camel@localhost>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-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); |