projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edf7c81
)
sched: Remove empty #ifdefs
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Tue, 10 Jan 2012 00:24:05 +0000
(09:24 +0900)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 10 Jan 2012 08:57:41 +0000
(09:57 +0100)
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link:
http://lkml.kernel.org/r/4F0B8525.8070901@ct.jp.nec.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched/core.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/core.c
b/kernel/sched/core.c
index 4dbfd04a2148546c8311638bfb61d561b72d2b42..457c881873cb0c1309aaaf60c887c0ede7a21d22 100644
(file)
--- a/
kernel/sched/core.c
+++ b/
kernel/sched/core.c
@@
-7136,10
+7136,6
@@
void set_curr_task(int cpu, struct task_struct *p)
#endif
-#ifdef CONFIG_RT_GROUP_SCHED
-#else /* !CONFIG_RT_GROUP_SCHED */
-#endif /* CONFIG_RT_GROUP_SCHED */
-
#ifdef CONFIG_CGROUP_SCHED
/* task_group_lock serializes the addition/removal of task groups */
static DEFINE_SPINLOCK(task_group_lock);
@@
-7248,9
+7244,6
@@
void sched_move_task(struct task_struct *tsk)
}
#endif /* CONFIG_CGROUP_SCHED */
-#ifdef CONFIG_FAIR_GROUP_SCHED
-#endif
-
#if defined(CONFIG_RT_GROUP_SCHED) || defined(CONFIG_CFS_BANDWIDTH)
static unsigned long to_ratio(u64 period, u64 runtime)
{