Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: nommu: don't provide arch_get_unmapped_area

Nommu unconditionally provides arch_get_unmapped_area that always
returns -ENOMEM.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+2
+2
arch/xtensa/kernel/syscall.c
··· 57 57 return sys_fadvise64_64(fd, offset, len, advice); 58 58 } 59 59 60 + #ifdef CONFIG_MMU 60 61 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, 61 62 unsigned long len, unsigned long pgoff, unsigned long flags) 62 63 { ··· 94 93 addr = COLOUR_ALIGN(addr, pgoff); 95 94 } 96 95 } 96 + #endif