diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 07:27:09 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 07:27:09 +0400 |
commit | 0c99adb0a6dfe292842a8142b48e494d7731f5fe (patch) | |
tree | 2f6433658127209ac27f72054fbc6efd9efad84a | |
parent | 39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb (diff) | |
download | linux-0c99adb0a6dfe292842a8142b48e494d7731f5fe.tar.xz |
sh: Wire up fallocate() syscall.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/syscalls.S | 1 | ||||
-rw-r--r-- | include/asm-sh/unistd.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/syscalls.S b/arch/sh/kernel/syscalls.S index ff5656e60c05..91fb7024e06f 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 77bcb09d6ac8..b182b1cb05fd 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__ |