diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 01:52:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 01:52:48 -0500 |
commit | b8bf17d311c875de02550d5ce2af66588734159a (patch) | |
tree | 82d829df77f3eb506d10928fd633a8a6e5685082 /kernel/sched/core.c | |
parent | 9fc5c3e3237e02a94f41cd1d2b4291593d29791d (diff) | |
parent | bced76aeaca03b45e3b4bdb868cada328e497847 (diff) |
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched: Fix lockup by limiting load-balance retries on lock-break
sched: Fix CONFIG_CGROUP_SCHED dependency
sched: Remove empty #ifdefs
Diffstat (limited to 'kernel/sched/core.c')
-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 cecbb64be05f..fd7b25e90079 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -7134,10 +7134,6 @@ void set_curr_task(int cpu, struct task_struct *p) | |||
7134 | 7134 | ||
7135 | #endif | 7135 | #endif |
7136 | 7136 | ||
7137 | #ifdef CONFIG_RT_GROUP_SCHED | ||
7138 | #else /* !CONFIG_RT_GROUP_SCHED */ | ||
7139 | #endif /* CONFIG_RT_GROUP_SCHED */ | ||
7140 | |||
7141 | #ifdef CONFIG_CGROUP_SCHED | 7137 | #ifdef CONFIG_CGROUP_SCHED |
7142 | /* task_group_lock serializes the addition/removal of task groups */ | 7138 | /* task_group_lock serializes the addition/removal of task groups */ |
7143 | static DEFINE_SPINLOCK(task_group_lock); | 7139 | static DEFINE_SPINLOCK(task_group_lock); |
@@ -7246,9 +7242,6 @@ void sched_move_task(struct task_struct *tsk) | |||
7246 | } | 7242 | } |
7247 | #endif /* CONFIG_CGROUP_SCHED */ | 7243 | #endif /* CONFIG_CGROUP_SCHED */ |
7248 | 7244 | ||
7249 | #ifdef CONFIG_FAIR_GROUP_SCHED | ||
7250 | #endif | ||
7251 | |||
7252 | #if defined(CONFIG_RT_GROUP_SCHED) || defined(CONFIG_CFS_BANDWIDTH) | 7245 | #if defined(CONFIG_RT_GROUP_SCHED) || defined(CONFIG_CFS_BANDWIDTH) |
7253 | static unsigned long to_ratio(u64 period, u64 runtime) | 7246 | static unsigned long to_ratio(u64 period, u64 runtime) |
7254 | { | 7247 | { |