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 a5c680d..abb94c0 100644 (file)
@@ -378,3 +378,4 @@ sys_call_table:
        .long sys_signalfd
        .long sys_timerfd               /* 350 */
        .long sys_eventfd
+       .long sys_fallocate
index ea3adc6..1a5197f 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