summaryrefslogtreecommitdiffstats
path: root/kernel/mm/init-mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mm/init-mm.c')
-rw-r--r--kernel/mm/init-mm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/mm/init-mm.c b/kernel/mm/init-mm.c
index a56a85190..975e49f00 100644
--- a/kernel/mm/init-mm.c
+++ b/kernel/mm/init-mm.c
@@ -6,6 +6,7 @@
#include <linux/cpumask.h>
#include <linux/atomic.h>
+#include <linux/user_namespace.h>
#include <asm/pgtable.h>
#include <asm/mmu.h>
@@ -21,5 +22,6 @@ struct mm_struct init_mm = {
.mmap_sem = __RWSEM_INITIALIZER(init_mm.mmap_sem),
.page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
.mmlist = LIST_HEAD_INIT(init_mm.mmlist),
+ .user_ns = &init_user_ns,
INIT_MM_CONTEXT(init_mm)
};