Skip to content

Commit

Permalink
sh: Wire up fallocate() syscall.
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 Jul 20, 2007
1 parent 39c7aa9 commit 0c99adb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/sh/kernel/syscalls.S
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,4 @@ ENTRY(sys_call_table)
.long sys_signalfd
.long sys_timerfd
.long sys_eventfd
.long sys_fallocate
3 changes: 2 additions & 1 deletion include/asm-sh/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,9 @@
#define __NR_signalfd 321
#define __NR_timerfd 322
#define __NR_eventfd 323
#define __NR_fallocate 324

#define NR_syscalls 324
#define NR_syscalls 325

#ifdef __KERNEL__

Expand Down

0 comments on commit 0c99adb

Please sign in to comment.