[PATCH V8 04/13] posix_clocks: add clock_adjtime for arm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Richard Cochran
Date: Friday, December 31, 2010 - 12:13 pm

This patch adds the clock_adjtime system call to the arm architecture.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
---
 arch/arm/include/asm/unistd.h |    1 +
 arch/arm/kernel/calls.S       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h
index c891eb7..f58d881 100644
--- a/arch/arm/include/asm/unistd.h
+++ b/arch/arm/include/asm/unistd.h
@@ -396,6 +396,7 @@
 #define __NR_fanotify_init		(__NR_SYSCALL_BASE+367)
 #define __NR_fanotify_mark		(__NR_SYSCALL_BASE+368)
 #define __NR_prlimit64			(__NR_SYSCALL_BASE+369)
+#define __NR_clock_adjtime		(__NR_SYSCALL_BASE+370)
 
 /*
  * The following SWIs are ARM private.
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
index 5c26ecc..430de4c 100644
--- a/arch/arm/kernel/calls.S
+++ b/arch/arm/kernel/calls.S
@@ -379,6 +379,7 @@
 		CALL(sys_fanotify_init)
 		CALL(sys_fanotify_mark)
 		CALL(sys_prlimit64)
+/* 370 */	CALL(sys_clock_adjtime)
 #ifndef syscalls_counted
 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
 #define syscalls_counted
-- 
1.7.0.4

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH V8 00/13] ptp: IEEE 1588 hardware clock support, Richard Cochran, (Fri Dec 31, 12:11 pm)
[PATCH V8 02/13] ntp: add ADJ_SETOFFSET mode bit, Richard Cochran, (Fri Dec 31, 12:12 pm)
[PATCH V8 04/13] posix_clocks: add clock_adjtime for arm, Richard Cochran, (Fri Dec 31, 12:13 pm)
[PATCH V8 05/13] posix_clocks: add clock_adjtime for blackfin, Richard Cochran, (Fri Dec 31, 12:14 pm)
[PATCH V8 06/13] posix_clocks: add clock_adjtime for powerpc, Richard Cochran, (Fri Dec 31, 12:14 pm)
[PATCH V8 07/13] posix_clocks: add clock_adjtime for x86, Richard Cochran, (Fri Dec 31, 12:14 pm)
[PATCH V8 08/13] posix clocks: cleanup the CLOCK_DISPTACH ..., Richard Cochran, (Fri Dec 31, 12:15 pm)
[PATCH V8 09/13] posix clocks: introduce dynamic clocks, Richard Cochran, (Fri Dec 31, 12:15 pm)
[PATCH V8 12/13] ptp: Added a clock driver for the IXP46x., Richard Cochran, (Fri Dec 31, 12:17 pm)
Re: [PATCH V8 02/13] ntp: add ADJ_SETOFFSET mode bit, Kuwahara,T., (Sat Jan 1, 1:38 pm)