aboutsummaryrefslogtreecommitdiffstats
path: root/lib/is_single_threaded.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/is_single_threaded.c')
-rw-r--r--lib/is_single_threaded.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/is_single_threaded.c b/lib/is_single_threaded.c
index 391fd23976a2..9c7d89df40ed 100644
--- a/lib/is_single_threaded.c
+++ b/lib/is_single_threaded.c
@@ -9,8 +9,9 @@
9 * as published by the Free Software Foundation; either version 9 * as published by the Free Software Foundation; either version
10 * 2 of the Licence, or (at your option) any later version. 10 * 2 of the Licence, or (at your option) any later version.
11 */ 11 */
12 12#include <linux/sched/signal.h>
13#include <linux/sched.h> 13#include <linux/sched/task.h>
14#include <linux/sched/mm.h>
14 15
15/* 16/*
16 * Returns true if the task does not share ->mm with another thread/process. 17 * Returns true if the task does not share ->mm with another thread/process.