[PATCH V8 05/13] posix_clocks: add clock_adjtime for blackfin

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

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

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
---
 arch/blackfin/include/asm/unistd.h |    3 ++-
 arch/blackfin/mach-common/entry.S  |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h
index 928ae97..e640c51 100644
--- a/arch/blackfin/include/asm/unistd.h
+++ b/arch/blackfin/include/asm/unistd.h
@@ -393,8 +393,9 @@
 #define __NR_fanotify_mark	372
 #define __NR_prlimit64		373
 #define __NR_cacheflush		374
+#define __NR_clock_adjtime	375
 
-#define __NR_syscall		375
+#define __NR_syscall		376
 #define NR_syscalls		__NR_syscall
 
 /* Old optional stuff no one actually uses */
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 2ca915e..cb6cc1e 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -1738,6 +1738,7 @@ ENTRY(_sys_call_table)
 	.long _sys_fanotify_mark
 	.long _sys_prlimit64
 	.long _sys_cacheflush
+	.long _sys_clock_adjtime	/* 375 */
 
 	.rept NR_syscalls-(.-_sys_call_table)/4
 	.long _sys_ni_syscall
-- 
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)