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 d6741fca89a4f2d42b763d9789c5b81dc574988e..b5a74e88028dbfc5caa2e072030413fb26b31f4c 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 09aa93f9eb70d8bc62432a395bec21623f8628c8..953da4a521995517c9ee4f87a3e123389357fa49 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 6fc347ebe59dfe0a356fe4d2d4f31ea52fa69206..768fb33fdd35f3aa0f730498bd9cbfa75c77972e 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 66585708ce90d257333eb424851da9f1415ff646..44e7b00c80675da76e26ee3a612f0c666bf52d90 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