Skip to content

Commit

Permalink
FRV: connect up fallocate
Browse files Browse the repository at this point in the history
Connect up the fallocate() system call.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
David Howells authored and Linus Torvalds committed Aug 11, 2007
1 parent e798bd9 commit 60c9834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/frv/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,7 @@ sys_call_table:
.long sys_signalfd
.long sys_timerfd
.long sys_eventfd
.long sys_fallocate


syscall_table_size = (. - sys_call_table)
3 changes: 2 additions & 1 deletion include/asm-frv/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,11 @@
#define __NR_signalfd 321
#define __NR_timerfd 322
#define __NR_eventfd 323
#define __NR_fallocate 324

#ifdef __KERNEL__

#define NR_syscalls 324
#define NR_syscalls 325

#define __ARCH_WANT_IPC_PARSE_VERSION
/* #define __ARCH_WANT_OLD_READDIR */
Expand Down

0 comments on commit 60c9834

Please sign in to comment.