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

index ff5656e..91fb702 100644 (file)
@@ -358,3 +358,4 @@ ENTRY(sys_call_table)
        .long sys_signalfd
        .long sys_timerfd
        .long sys_eventfd
+       .long sys_fallocate
index 77bcb09..b182b1c 100644 (file)
 #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__