Some syscalls are not linked in nommu mode. The MMU depending
syscalls are needed to be defined as 'cond_syscall'.
Signed-off-by: Hyok S. Choi <[email protected]>
---
kernel/sys_ni.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index 17313b9..f5c2548 100644
--- a/kernel/sys_ni.c
+++ b/kernel/sys_ni.c
@@ -114,3 +114,14 @@ cond_syscall(sys32_sysctl);
cond_syscall(ppc_rtas);
cond_syscall(sys_spu_run);
cond_syscall(sys_spu_create);
+
+/* mmu depending weak syscall entries */
+cond_syscall(sys_mprotect);
+cond_syscall(sys_msync);
+cond_syscall(sys_mlock);
+cond_syscall(sys_munlock);
+cond_syscall(sys_mlockall);
+cond_syscall(sys_munlockall);
+cond_syscall(sys_mincore);
+cond_syscall(sys_madvise);
+cond_syscall(sys_remap_file_pages);