]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Update ARM syscalls
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 16 May 2007 11:41:15 +0000 (12:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 16 May 2007 14:37:48 +0000 (15:37 +0100)
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>
arch/arm/kernel/calls.S
include/asm-arm/unistd.h

index ae89cdd82b1677d2b29494bed10391bd0be7c587..19326d7cdeb3cdf6a517e1c25f27b0c4fbaab4fa 100644 (file)
 /* 345 */      CALL(sys_getcpu)
                CALL(sys_ni_syscall)            /* eventually epoll_pwait */
                CALL(sys_kexec_load)
+               CALL(sys_utimensat)
+               CALL(sys_signalfd)
+/* 350 */      CALL(sys_timerfd)
+               CALL(sys_eventfd)
 #ifndef syscalls_counted
 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
 #define syscalls_counted
index c025ab47e4b976a88700c48de99ed807c4507a8d..250d7f145acaed61fbb6c076a182ed41efda3fcd 100644 (file)
 #define __NR_getcpu                    (__NR_SYSCALL_BASE+345)
                                        /* 346 for epoll_pwait */
 #define __NR_kexec_load                        (__NR_SYSCALL_BASE+347)
+#define __NR_utimensat                 (__NR_SYSCALL_BASE+348)
+#define __NR_signalfd                  (__NR_SYSCALL_BASE+349)
+#define __NR_timerfd                   (__NR_SYSCALL_BASE+350)
+#define __NR_eventfd                   (__NR_SYSCALL_BASE+351)
 
 /*
  * The following SWIs are ARM private.
  */
 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
 
+/*
+ * Unimplemented (or alternatively implemented) syscalls
+ */
+#define __IGNORE_sync_file_range       1
+#define __IGNORE_fadvise64_64          1
+
 #endif /* __KERNEL__ */
 #endif /* __ASM_ARM_UNISTD_H */