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

ARM: 7665/1: Wire up kcmp syscall

Wire up kcmp syscall for ability to proceed checkpoint/restore
procedure on ARM platform.

Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Cyrill Gorcunov and committed by
Russell King
3f7d1fe1 e595ede6

+2 -2
+1 -1
arch/arm/include/uapi/asm/unistd.h
··· 404 404 #define __NR_setns (__NR_SYSCALL_BASE+375) 405 405 #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) 406 406 #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) 407 - /* 378 for kcmp */ 407 + #define __NR_kcmp (__NR_SYSCALL_BASE+378) 408 408 #define __NR_finit_module (__NR_SYSCALL_BASE+379) 409 409 410 410 /*
+1 -1
arch/arm/kernel/calls.S
··· 387 387 /* 375 */ CALL(sys_setns) 388 388 CALL(sys_process_vm_readv) 389 389 CALL(sys_process_vm_writev) 390 - CALL(sys_ni_syscall) /* reserved for sys_kcmp */ 390 + CALL(sys_kcmp) 391 391 CALL(sys_finit_module) 392 392 #ifndef syscalls_counted 393 393 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls