]> err.no Git - linux-2.6/commitdiff
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 ff5656e60c05c3744c110ca9b770d40bb8efe0e1..91fb7024e06f08626bd4b31efd0043ca6ad69b31 100644 (file)
@@ -358,3 +358,4 @@ ENTRY(sys_call_table)
        .long sys_signalfd
        .long sys_timerfd
        .long sys_eventfd
+       .long sys_fallocate
index 77bcb09d6ac8be2125494d2011951b1a96112949..b182b1cb05fd24369aa0d1381f553c3135c7e57f 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__