diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-05-16 07:41:15 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-16 10:37:48 -0400 |
commit | c05107911a38235fec87892d83dc54aba9aaf3bd (patch) | |
tree | 9a8156053df8f619601ef5444d5e074b3c5bc90f | |
parent | e903382ceae1dd85e650ffc7e98facdd59cc7a3f (diff) |
[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>
-rw-r--r-- | arch/arm/kernel/calls.S | 4 | ||||
-rw-r--r-- | include/asm-arm/unistd.h | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index ae89cdd82b16..19326d7cdeb3 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S | |||
@@ -357,6 +357,10 @@ | |||
357 | /* 345 */ CALL(sys_getcpu) | 357 | /* 345 */ CALL(sys_getcpu) |
358 | CALL(sys_ni_syscall) /* eventually epoll_pwait */ | 358 | CALL(sys_ni_syscall) /* eventually epoll_pwait */ |
359 | CALL(sys_kexec_load) | 359 | CALL(sys_kexec_load) |
360 | CALL(sys_utimensat) | ||
361 | CALL(sys_signalfd) | ||
362 | /* 350 */ CALL(sys_timerfd) | ||
363 | CALL(sys_eventfd) | ||
360 | #ifndef syscalls_counted | 364 | #ifndef syscalls_counted |
361 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls | 365 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls |
362 | #define syscalls_counted | 366 | #define syscalls_counted |
diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h index c025ab47e4b9..250d7f145aca 100644 --- a/include/asm-arm/unistd.h +++ b/include/asm-arm/unistd.h | |||
@@ -373,6 +373,10 @@ | |||
373 | #define __NR_getcpu (__NR_SYSCALL_BASE+345) | 373 | #define __NR_getcpu (__NR_SYSCALL_BASE+345) |
374 | /* 346 for epoll_pwait */ | 374 | /* 346 for epoll_pwait */ |
375 | #define __NR_kexec_load (__NR_SYSCALL_BASE+347) | 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 | * The following SWIs are ARM private. | 382 | * The following SWIs are ARM private. |
@@ -433,5 +437,11 @@ | |||
433 | */ | 437 | */ |
434 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") | 438 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") |
435 | 439 | ||
440 | /* | ||
441 | * Unimplemented (or alternatively implemented) syscalls | ||
442 | */ | ||
443 | #define __IGNORE_sync_file_range 1 | ||
444 | #define __IGNORE_fadvise64_64 1 | ||
445 | |||
436 | #endif /* __KERNEL__ */ | 446 | #endif /* __KERNEL__ */ |
437 | #endif /* __ASM_ARM_UNISTD_H */ | 447 | #endif /* __ASM_ARM_UNISTD_H */ |