提交 d10fa7cf 编写于 作者: M Max Filippov

xtensa: nommu: don't provide arch_get_unmapped_area

Nommu unconditionally provides arch_get_unmapped_area that always
returns -ENOMEM.
Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
上级 f6891ddb
......@@ -57,6 +57,7 @@ asmlinkage long xtensa_fadvise64_64(int fd, int advice,
return sys_fadvise64_64(fd, offset, len, advice);
}
#ifdef CONFIG_MMU
unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr,
unsigned long len, unsigned long pgoff, unsigned long flags)
{
......@@ -93,3 +94,4 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr,
addr = COLOUR_ALIGN(addr, pgoff);
}
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册