summaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorIngo Molnar2017-02-01 18:07:51 +0100
committerIngo Molnar2017-03-02 08:42:27 +0100
commitae7e81c077d60507dcec139e40a6d10cf932cf4b (patch)
tree1cbf2ecc1d72680cb3dad5eb6174ded450585ac3 /kernel/kthread.c
parentsched/headers: Prepare for new header dependencies before moving code to <lin... (diff)
downloadkernel-qcow2-linux-ae7e81c077d60507dcec139e40a6d10cf932cf4b.tar.gz
kernel-qcow2-linux-ae7e81c077d60507dcec139e40a6d10cf932cf4b.tar.xz
kernel-qcow2-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>