summaryrefslogtreecommitdiffstats
path: root/include/linux/mm_types.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-02 12:27:56 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-03 01:43:39 +0100
commitabe722a1c59728c6c0ea4e4d5efcfe397c8abebc (patch)
tree25bc58461947797a3d363fbc652f5aad538acd75 /include/linux/mm_types.h
parent4240c8bf877f1145571106a2934c5cea0b51b178 (diff)
downloadlinux-abe722a1c59728c6c0ea4e4d5efcfe397c8abebc.tar.gz
linux-abe722a1c59728c6c0ea4e4d5efcfe397c8abebc.tar.xz
sched/headers: Move the 'init_mm' declaration from <linux/sched.h> to <linux/mm_types.h>
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 'include/linux/mm_types.h')
-rw-r--r--include/linux/mm_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 6daaf0a51968..28bc710d3467 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -546,6 +546,8 @@ struct mm_struct {
struct work_struct async_put_work;
};
+extern struct mm_struct init_mm;
+
static inline void mm_init_cpumask(struct mm_struct *mm)
{
#ifdef CONFIG_CPUMASK_OFFSTACK