projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a16dda
)
sched/autogroup: Remove unnecessary #ifdef guards
author
Tobias Klauser
<tklauser@distanz.ch>
Wed, 15 Apr 2015 16:51:18 +0000
(18:51 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 16 Apr 2015 07:20:43 +0000
(09:20 +0200)
Since commit:
029632fbb7b7
("sched: Make separate sched*.c translation units")
autogroup is a separate translation unit built from the Makefile and
thus no longer needs its content wrapped with #ifdef CONFIG_SCHED_AUTOGROUP.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Peter Zijlstra <peterz@infradead.org>
Link:
http://lkml.kernel.org/r/1429116678-17000-1-git-send-email-tklauser@distanz.ch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/auto_group.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/auto_group.c
b/kernel/sched/auto_group.c
index eae160dd669d9d8d58bb911595c6391b2732edb4..1a3b58d531b26a0ff0e32d0c09390a292dbf5012 100644
(file)
--- a/
kernel/sched/auto_group.c
+++ b/
kernel/sched/auto_group.c
@@
-1,5
+1,3
@@
-#ifdef CONFIG_SCHED_AUTOGROUP
-
#include "sched.h"
#include <linux/proc_fs.h>
@@
-249,5
+247,3
@@
int autogroup_path(struct task_group *tg, char *buf, int buflen)
return snprintf(buf, buflen, "%s-%ld", "/autogroup", tg->autogroup->id);
}
#endif /* CONFIG_SCHED_DEBUG */
-
-#endif /* CONFIG_SCHED_AUTOGROUP */