Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf619fae authored by Russell King's avatar Russell King
Browse files

ARM: reserve syscall 378 for kcmp



kcmp has appeared on x86, but has not been noticed because
checksyscalls.sh is broken at the moment.  Reserve ARM syscall 378
for this should we ever need it, and add an __IGNORE entry for this
unimplemented syscall.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d99a910a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -404,6 +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 */

/*
 * The following SWIs are ARM private.
@@ -483,6 +484,7 @@
 */
#define __IGNORE_fadvise64_64
#define __IGNORE_migrate_pages
#define __IGNORE_kcmp

#endif /* __KERNEL__ */
#endif /* __ASM_ARM_UNISTD_H */
+1 −0
Original line number Diff line number Diff line
@@ -387,6 +387,7 @@
/* 375 */	CALL(sys_setns)
		CALL(sys_process_vm_readv)
		CALL(sys_process_vm_writev)
		CALL(sys_ni_syscall)	/* reserved for sys_kcmp */
#ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted