summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-08 20:51:30 +0300
committerIngo Molnar <mingo@kernel.org>2017-03-02 10:42:29 +0300
commit3f07c0144132e4f59d88055ac8ff3e691a5fa2b8 (patch)
treec79587f81877e40280908db7ca5527e4b9dc88e9 /lib
parentf7ccbae45c5e2c1077654b0e857e7efb1aa31c92 (diff)
downloadlinux-3f07c0144132e4f59d88055ac8ff3e691a5fa2b8.tar.xz
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h>
We are going to split <linux/sched/signal.h> out of <linux/sched.h>, which will have to be picked up from other headers and a couple of .c files. Create a trivial placeholder <linux/sched/signal.h> file that just maps to <linux/sched.h> to make this patch obviously correct and bisectable. 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 'lib')
-rw-r--r--lib/is_single_threaded.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/is_single_threaded.c b/lib/is_single_threaded.c
index 391fd23976a2..9745cfffcb69 100644
--- a/lib/is_single_threaded.c
+++ b/lib/is_single_threaded.c
@@ -9,8 +9,7 @@
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/
-
-#include <linux/sched.h>
+#include <linux/sched/signal.h>
/*
* Returns true if the task does not share ->mm with another thread/process.