sh: wire up sys_syncfs.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 12:56:08 +0000 (21:56 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 12:56:08 +0000 (21:56 +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 b5a74e8..ca7765e 100644 (file)
 #define __NR_name_to_handle_at 359
 #define __NR_open_by_handle_at 360
 #define __NR_clock_adjtime     361
+#define __NR_syncfs            362
 
-#define NR_syscalls 362
+#define NR_syscalls 363
 
 #ifdef __KERNEL__
 
index 953da4a..a694009 100644 (file)
 #define __NR_name_to_handle_at 370
 #define __NR_open_by_handle_at 371
 #define __NR_clock_adjtime     372
+#define __NR_syncfs            373
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 373
+#define NR_syscalls 374
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index 768fb33..030966a 100644 (file)
@@ -379,3 +379,4 @@ ENTRY(sys_call_table)
        .long sys_name_to_handle_at
        .long sys_open_by_handle_at     /* 360 */
        .long sys_clock_adjtime
+       .long sys_syncfs
index 44e7b00..ca0a614 100644 (file)
@@ -399,3 +399,4 @@ sys_call_table:
        .long sys_name_to_handle_at     /* 370 */
        .long sys_open_by_handle_at
        .long sys_clock_adjtime
+       .long sys_syncfs