summaryrefslogtreecommitdiffstats
path: root/lib/is_single_threaded.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-04 01:20:53 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:38 +0100
commit9164bb4a18dfa592cd0aca455ea57abf89ca4526 (patch)
tree4be75b2e73822527424dca354c419f8f5598775b /lib/is_single_threaded.c
parentsched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linu... (diff)
downloadlinux-9164bb4a18dfa592cd0aca455ea57abf89ca4526.tar.xz
linux-9164bb4a18dfa592cd0aca455ea57abf89ca4526.zip
sched/headers: Prepare to move 'init_task' and 'init_thread_union' from <linux/sched.h> to <linux/sched/task.h>
Update all usage sites first. 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/is_single_threaded.c')
-rw-r--r--lib/is_single_threaded.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/is_single_threaded.c b/lib/is_single_threaded.c
index 8d4678edcc0e..9c7d89df40ed 100644
--- a/lib/is_single_threaded.c
+++ b/lib/is_single_threaded.c
@@ -10,6 +10,7 @@
* 2 of the Licence, or (at your option) any later version.
*/
#include <linux/sched/signal.h>
+#include <linux/sched/task.h>
#include <linux/sched/mm.h>
/*