From: Paul Mundt Date: Fri, 20 Jul 2007 03:27:09 +0000 (+0900) Subject: sh: Wire up fallocate() syscall. X-Git-Tag: v2.6.23-rc1~214^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c99adb0a6dfe292842a8142b48e494d7731f5fe;p=linux-2.6 sh: Wire up fallocate() syscall. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/syscalls.S b/arch/sh/kernel/syscalls.S index ff5656e60c..91fb7024e0 100644 --- a/arch/sh/kernel/syscalls.S +++ b/arch/sh/kernel/syscalls.S @@ -358,3 +358,4 @@ ENTRY(sys_call_table) .long sys_signalfd .long sys_timerfd .long sys_eventfd + .long sys_fallocate diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h index 77bcb09d6a..b182b1cb05 100644 --- a/include/asm-sh/unistd.h +++ b/include/asm-sh/unistd.h @@ -332,8 +332,9 @@ #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__