Skip to content

Commit

Permalink
sh: wire up sys_syncfs.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Mar 22, 2011
1 parent eddecbb commit 2a03cfb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/sh/include/asm/unistd_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,9 @@
#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__

Expand Down
3 changes: 2 additions & 1 deletion arch/sh/include/asm/unistd_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,11 @@
#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
Expand Down
1 change: 1 addition & 0 deletions arch/sh/kernel/syscalls_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions arch/sh/kernel/syscalls_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2a03cfb

Please sign in to comment.