Message ID | 1355923677-18249-4-git-send-email-alekskartashov@parallels.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Alexander Kartashov writes: > --- a/arch/arm/kernel/calls.S > +++ b/arch/arm/kernel/calls.S > @@ -387,7 +387,7 @@ > /* 375 */ CALL(sys_setns) > CALL(sys_process_vm_readv) > CALL(sys_process_vm_writev) > - CALL(sys_ni_syscall) /* reserved for sys_kcmp */ > + CALL(sys_kcmp) /* reserved for sys_kcmp */ The /* reserved for sys_kcmp */ comment is now obsolete and should be removed.
Dear colleagues, I'm developing an ARM port of the CRIU suite so I need the syscall kcmp that is currently available only in the x86 port of the kernel. This patchset enables the syscall kcmp in the ARM port of the Linux kernel. -- Sincerely yours, Alexander Kartashov
diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h index ac03bdb..afe27b5 100644 --- a/arch/arm/include/uapi/asm/unistd.h +++ b/arch/arm/include/uapi/asm/unistd.h @@ -404,7 +404,7 @@ #define __NR_setns (__NR_SYSCALL_BASE+375) #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) - /* 378 for kcmp */ +#define __NR_kcmp (__NR_SYSCALL_BASE+378) /* * This may need to be greater than __NR_last_syscall+1 in order to diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 831cd38..a2a62a8 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S @@ -387,7 +387,7 @@ /* 375 */ CALL(sys_setns) CALL(sys_process_vm_readv) CALL(sys_process_vm_writev) - CALL(sys_ni_syscall) /* reserved for sys_kcmp */ + CALL(sys_kcmp) /* reserved for sys_kcmp */ #ifndef syscalls_counted .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls #define syscalls_counted
Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> --- arch/arm/include/uapi/asm/unistd.h | 2 +- arch/arm/kernel/calls.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)