sh64: Wire up fallocate() syscall.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 03:37:51 +0000 (12:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 03:37:51 +0000 (12:37 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh64/kernel/syscalls.S
include/asm-sh64/unistd.h

index a5c680d2938429351a4a7168667ab9ec702a352c..abb94c05d07a7099e285594b6eaecde8ee4dda55 100644 (file)
@@ -378,3 +378,4 @@ sys_call_table:
        .long sys_signalfd
        .long sys_timerfd               /* 350 */
        .long sys_eventfd
+       .long sys_fallocate
index ea3adc600b41987eff9e7b3223a0d35599c3a549..1a5197f369b20b0535510bab47fe22aa2f6faf71 100644 (file)
 #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