projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c873d5
)
sched/headers: Remove <linux/sched.h> from <linux/sched/init.h>
author
Ingo Molnar
<
[email protected]
>
Wed, 8 Feb 2017 17:51:59 +0000
(18:51 +0100)
committer
Ingo Molnar
<
[email protected]
>
Fri, 3 Mar 2017 00:45:38 +0000
(
01:45
+0100)
The <linux/sched/init.h> file is a self-contained header and users of
it either don't need <linux/sched.h> - or have already included it.
This reduces the size of the header dependency graph.
Acked-by: Linus Torvalds <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
include/linux/sched/init.h
patch
|
blob
|
history
diff --git
a/include/linux/sched/init.h
b/include/linux/sched/init.h
index f31d1607585731033bf81bd5e5625917aa92b8fa..127215045285e6e0b0de966cfc5b53695b2be946 100644
(file)
--- a/
include/linux/sched/init.h
+++ b/
include/linux/sched/init.h
@@
-1,8
+1,6
@@
#ifndef _LINUX_SCHED_INIT_H
#define _LINUX_SCHED_INIT_H
-#include <linux/sched.h>
-
/*
* Scheduler init related prototypes:
*/