diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched/core.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 4dbfd04a2148..457c881873cb 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -7136,10 +7136,6 @@ void set_curr_task(int cpu, struct task_struct *p) | |||
7136 | 7136 | ||
7137 | #endif | 7137 | #endif |
7138 | 7138 | ||
7139 | #ifdef CONFIG_RT_GROUP_SCHED | ||
7140 | #else /* !CONFIG_RT_GROUP_SCHED */ | ||
7141 | #endif /* CONFIG_RT_GROUP_SCHED */ | ||
7142 | |||
7143 | #ifdef CONFIG_CGROUP_SCHED | 7139 | #ifdef CONFIG_CGROUP_SCHED |
7144 | /* task_group_lock serializes the addition/removal of task groups */ | 7140 | /* task_group_lock serializes the addition/removal of task groups */ |
7145 | static DEFINE_SPINLOCK(task_group_lock); | 7141 | static DEFINE_SPINLOCK(task_group_lock); |
@@ -7248,9 +7244,6 @@ void sched_move_task(struct task_struct *tsk) | |||
7248 | } | 7244 | } |
7249 | #endif /* CONFIG_CGROUP_SCHED */ | 7245 | #endif /* CONFIG_CGROUP_SCHED */ |
7250 | 7246 | ||
7251 | #ifdef CONFIG_FAIR_GROUP_SCHED | ||
7252 | #endif | ||
7253 | |||
7254 | #if defined(CONFIG_RT_GROUP_SCHED) || defined(CONFIG_CFS_BANDWIDTH) | 7247 | #if defined(CONFIG_RT_GROUP_SCHED) || defined(CONFIG_CFS_BANDWIDTH) |
7255 | static unsigned long to_ratio(u64 period, u64 runtime) | 7248 | static unsigned long to_ratio(u64 period, u64 runtime) |
7256 | { | 7249 | { |