summaryrefslogtreecommitdiffstats
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/is_single_threaded.c b/lib/is_single_threaded.c
index 9745cfffcb69..8d4678edcc0e 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/mm.h>
/*
* Returns true if the task does not share ->mm with another thread/process.