[ARM] Update ARM syscalls

Add utimensat, signalfd, timerfd, eventfd syscalls. Add ignore
defines for sync_file_range and fadvise64_64 which we implement
differently.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Russell King and committed by
Russell King
c0510791 e903382c

+14
+4
arch/arm/kernel/calls.S
··· 357 357 /* 345 */ CALL(sys_getcpu) 358 358 CALL(sys_ni_syscall) /* eventually epoll_pwait */ 359 359 CALL(sys_kexec_load) 360 + CALL(sys_utimensat) 361 + CALL(sys_signalfd) 362 + /* 350 */ CALL(sys_timerfd) 363 + CALL(sys_eventfd) 360 364 #ifndef syscalls_counted 361 365 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls 362 366 #define syscalls_counted
+10
include/asm-arm/unistd.h
··· 373 373 #define __NR_getcpu (__NR_SYSCALL_BASE+345) 374 374 /* 346 for epoll_pwait */ 375 375 #define __NR_kexec_load (__NR_SYSCALL_BASE+347) 376 + #define __NR_utimensat (__NR_SYSCALL_BASE+348) 377 + #define __NR_signalfd (__NR_SYSCALL_BASE+349) 378 + #define __NR_timerfd (__NR_SYSCALL_BASE+350) 379 + #define __NR_eventfd (__NR_SYSCALL_BASE+351) 376 380 377 381 /* 378 382 * The following SWIs are ARM private. ··· 436 432 * but it doesn't work on all toolchains, so we just do it by hand 437 433 */ 438 434 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 435 + 436 + /* 437 + * Unimplemented (or alternatively implemented) syscalls 438 + */ 439 + #define __IGNORE_sync_file_range 1 440 + #define __IGNORE_fadvise64_64 1 439 441 440 442 #endif /* __KERNEL__ */ 441 443 #endif /* __ASM_ARM_UNISTD_H */