[ARM] 4852/1: Add timerfd_create, timerfd_settime and timerfd_gettime syscall entries

Previous thread: [ARM] 4981/1: [KS8695] Simple LED driver by Linux Kernel Mailing List on Monday, April 21, 2008 - 6:22 pm. (1 message)

Next thread: [ARM] Update mach-types by Linux Kernel Mailing List on Monday, April 21, 2008 - 6:22 pm. (1 message)
From: Linux Kernel Mailing List
Date: Monday, April 21, 2008 - 6:22 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cbfc0f...
Commit:     cbfc0f04069a426f3c8b4b35021117f6833df9ca
Parent:     184dd48102425467fbbb209765894b04f668a9de
Author:     Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
AuthorDate: Thu Mar 6 16:22:00 2008 +0100
Committer:  Russell King <rmk+kernel@arm.linux.org.uk>
CommitDate: Sat Apr 19 11:28:06 2008 +0100

    [ARM] 4852/1: Add timerfd_create, timerfd_settime and timerfd_gettime syscall entries
    
    Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 arch/arm/kernel/calls.S  |    4 +++-
 include/asm-arm/unistd.h |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
index 283e14f..95f1c12 100644
--- a/arch/arm/kernel/calls.S
+++ b/arch/arm/kernel/calls.S
@@ -359,9 +359,11 @@
 		CALL(sys_kexec_load)
 		CALL(sys_utimensat)
 		CALL(sys_signalfd)
-/* 350 */	CALL(sys_ni_syscall)
+/* 350 */	CALL(sys_timerfd_create)
 		CALL(sys_eventfd)
 		CALL(sys_fallocate)
+		CALL(sys_timerfd_settime)
+		CALL(sys_timerfd_gettime)
 #ifndef syscalls_counted
 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
 #define syscalls_counted
diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h
index 88e868b..7c57008 100644
--- a/include/asm-arm/unistd.h
+++ b/include/asm-arm/unistd.h
@@ -376,9 +376,11 @@
 #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_timerfd_create		(__NR_SYSCALL_BASE+350)
 #define __NR_eventfd			(__NR_SYSCALL_BASE+351)
 #define __NR_fallocate			(__NR_SYSCALL_BASE+352)
+#define __NR_timerfd_settime		(__NR_SYSCALL_BASE+353)
+#define __NR_timerfd_gettime		(__NR_SYSCALL_BASE+354)
 
 /*
  * The following SWIs are ARM ...
Previous thread: [ARM] 4981/1: [KS8695] Simple LED driver by Linux Kernel Mailing List on Monday, April 21, 2008 - 6:22 pm. (1 message)

Next thread: [ARM] Update mach-types by Linux Kernel Mailing List on Monday, April 21, 2008 - 6:22 pm. (1 message)