From: Liam R. Howlett Date: Mon, 1 Mar 2021 21:01:05 +0000 (-0500) Subject: Fix ipc/shm for nommu. X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9a4264d546e19389efc87f43b1105e0cea9f30c6;p=users%2Fjedix%2Flinux-maple.git Fix ipc/shm for nommu. Define mas for nommu and mmu builds Signed-off-by: Liam R. Howlett --- diff --git a/ipc/shm.c b/ipc/shm.c index e26da39eccb5..428fdd293f14 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -1631,8 +1631,8 @@ long ksys_shmdt(char __user *shmaddr) loff_t size = 0; struct file *file; struct vm_area_struct *next; - MA_STATE(mas, &mm->mm_mt, addr, addr); #endif + MA_STATE(mas, &mm->mm_mt, addr, addr); if (addr & ~PAGE_MASK) return retval;