aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-07-20 12:37:51 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 12:37:51 +0900
commita13c16e847ee50d77546cffa596d3c573b3270b7 (patch)
tree96af21e5c2f2542001a371e9c9b0648e94f4841d
parentMerge branch 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6 (diff)
downloadlinux-dev-a13c16e847ee50d77546cffa596d3c573b3270b7.tar.xz
linux-dev-a13c16e847ee50d77546cffa596d3c573b3270b7.zip
sh64: Wire up fallocate() syscall.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh64/kernel/syscalls.S1
-rw-r--r--include/asm-sh64/unistd.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh64/kernel/syscalls.S b/arch/sh64/kernel/syscalls.S
index a5c680d29384..abb94c05d07a 100644
--- a/arch/sh64/kernel/syscalls.S
+++ b/arch/sh64/kernel/syscalls.S
@@ -378,3 +378,4 @@ sys_call_table:
.long sys_signalfd
.long sys_timerfd /* 350 */
.long sys_eventfd
+ .long sys_fallocate
diff --git a/include/asm-sh64/unistd.h b/include/asm-sh64/unistd.h
index ea3adc600b41..1a5197f369b2 100644
--- a/include/asm-sh64/unistd.h
+++ b/include/asm-sh64/unistd.h
@@ -374,10 +374,11 @@
#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