diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-19 23:37:51 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-19 23:37:51 -0400 |
commit | a13c16e847ee50d77546cffa596d3c573b3270b7 (patch) | |
tree | 96af21e5c2f2542001a371e9c9b0648e94f4841d | |
parent | 9a79b2274186fade17134929d4f85b70d59a3840 (diff) |
sh64: Wire up fallocate() syscall.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh64/kernel/syscalls.S | 1 | ||||
-rw-r--r-- | include/asm-sh64/unistd.h | 3 |
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: | |||
378 | .long sys_signalfd | 378 | .long sys_signalfd |
379 | .long sys_timerfd /* 350 */ | 379 | .long sys_timerfd /* 350 */ |
380 | .long sys_eventfd | 380 | .long sys_eventfd |
381 | .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 @@ | |||
374 | #define __NR_signalfd 349 | 374 | #define __NR_signalfd 349 |
375 | #define __NR_timerfd 350 | 375 | #define __NR_timerfd 350 |
376 | #define __NR_eventfd 351 | 376 | #define __NR_eventfd 351 |
377 | #define __NR_fallocate 352 | ||
377 | 378 | ||
378 | #ifdef __KERNEL__ | 379 | #ifdef __KERNEL__ |
379 | 380 | ||
380 | #define NR_syscalls 352 | 381 | #define NR_syscalls 353 |
381 | 382 | ||
382 | #define __ARCH_WANT_IPC_PARSE_VERSION | 383 | #define __ARCH_WANT_IPC_PARSE_VERSION |
383 | #define __ARCH_WANT_OLD_READDIR | 384 | #define __ARCH_WANT_OLD_READDIR |