Browse Source

sh64: Wire up fallocate() syscall.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 18 years ago
parent
commit
a13c16e847
2 changed files with 3 additions and 1 deletions
  1. 1 0
      arch/sh64/kernel/syscalls.S
  2. 2 1
      include/asm-sh64/unistd.h

+ 1 - 0
arch/sh64/kernel/syscalls.S

@@ -378,3 +378,4 @@ sys_call_table:
 	.long sys_signalfd
 	.long sys_timerfd		/* 350 */
 	.long sys_eventfd
+	.long sys_fallocate

+ 2 - 1
include/asm-sh64/unistd.h

@@ -374,10 +374,11 @@
 #define __NR_signalfd		349
 #define __NR_timerfd		350
 #define __NR_eventfd		351
+#define __NR_fallocate		352
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 352
+#define NR_syscalls 353
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR