sh: Wire up new fhandle and clock_adjtime syscalls.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 17 Mar 2011 08:01:24 +0000 (17:01 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 17 Mar 2011 08:01:24 +0000 (17:01 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/unistd_32.h
arch/sh/include/asm/unistd_64.h
arch/sh/kernel/syscalls_32.S
arch/sh/kernel/syscalls_64.S

index d6741fc..b5a74e8 100644 (file)
 #define __NR_recvmsg           356
 #define __NR_recvmmsg          357
 #define __NR_accept4           358
+#define __NR_name_to_handle_at 359
+#define __NR_open_by_handle_at 360
+#define __NR_clock_adjtime     361
 
-#define NR_syscalls 359
+#define NR_syscalls 362
 
 #ifdef __KERNEL__
 
index 09aa93f..953da4a 100644 (file)
 #define __NR_fanotify_init     367
 #define __NR_fanotify_mark     368
 #define __NR_prlimit64         369
+#define __NR_name_to_handle_at 370
+#define __NR_open_by_handle_at 371
+#define __NR_clock_adjtime     372
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 370
+#define NR_syscalls 373
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index 6fc347e..768fb33 100644 (file)
@@ -376,3 +376,6 @@ ENTRY(sys_call_table)
        .long sys_recvmsg
        .long sys_recvmmsg
        .long sys_accept4
+       .long sys_name_to_handle_at
+       .long sys_open_by_handle_at     /* 360 */
+       .long sys_clock_adjtime
index 6658570..44e7b00 100644 (file)
@@ -396,3 +396,6 @@ sys_call_table:
        .long sys_fanotify_init
        .long sys_fanotify_mark
        .long sys_prlimit64
+       .long sys_name_to_handle_at     /* 370 */
+       .long sys_open_by_handle_at
+       .long sys_clock_adjtime