Sfoglia il codice sorgente

Blackfin: wire up new syscalls

Hook up name_to_handle_at, open_by_handle_at, and clock_adjtime.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 14 anni fa
parent
commit
a8d0142fb7

+ 4 - 1
arch/blackfin/include/asm/unistd.h

@@ -393,8 +393,11 @@
 #define __NR_fanotify_mark	372
 #define __NR_fanotify_mark	372
 #define __NR_prlimit64		373
 #define __NR_prlimit64		373
 #define __NR_cacheflush		374
 #define __NR_cacheflush		374
+#define __NR_name_to_handle_at	375
+#define __NR_open_by_handle_at	376
+#define __NR_clock_adjtime	377
 
 
-#define __NR_syscall		375
+#define __NR_syscall		378
 #define NR_syscalls		__NR_syscall
 #define NR_syscalls		__NR_syscall
 
 
 /* Old optional stuff no one actually uses */
 /* Old optional stuff no one actually uses */

+ 3 - 0
arch/blackfin/mach-common/entry.S

@@ -1749,6 +1749,9 @@ ENTRY(_sys_call_table)
 	.long _sys_fanotify_mark
 	.long _sys_fanotify_mark
 	.long _sys_prlimit64
 	.long _sys_prlimit64
 	.long _sys_cacheflush
 	.long _sys_cacheflush
+	.long _sys_name_to_handle_at	/* 375 */
+	.long _sys_open_by_handle_at
+	.long _sys_clock_adjtime
 
 
 	.rept NR_syscalls-(.-_sys_call_table)/4
 	.rept NR_syscalls-(.-_sys_call_table)/4
 	.long _sys_ni_syscall
 	.long _sys_ni_syscall