summaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-01 18:07:51 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:27 +0100
commitae7e81c077d60507dcec139e40a6d10cf932cf4b (patch)
tree1cbf2ecc1d72680cb3dad5eb6174ded450585ac3 /kernel/kthread.c
parente601757102cfd3eeae068f53b3bc1234f3a2b2e9 (diff)
downloadlinux-ae7e81c077d60507dcec139e40a6d10cf932cf4b.tar.gz
linux-ae7e81c077d60507dcec139e40a6d10cf932cf4b.tar.bz2
linux-ae7e81c077d60507dcec139e40a6d10cf932cf4b.zip
sched/headers: Prepare for new header dependencies before moving code to <uapi/linux/sched/types.h>
We are going to move scheduler ABI details to <uapi/linux/sched/types.h>, which will be used from a number of .c files. Create empty placeholder header that maps to <linux/types.h>. Include the new header in the files that are going to need it. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/kthread.c')
-rw-r--r--kernel/kthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c
index 8461a4372e8a..ef9b9eb809c7 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -5,6 +5,7 @@
* even if we're invoked from userspace (think modprobe, hotplug cpu,
* etc.).
*/
+#include <uapi/linux/sched/types.h>
#include <linux/sched.h>
#include <linux/kthread.h>
#include <linux/completion.h>