diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-09-30 12:37:24 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-10-12 18:43:31 -0400 |
commit | 883042d6ea31fcaffb0b8763cadfbcb2862ebc48 (patch) | |
tree | d1dac6a59cccd753bc89139d4b93fc4a1500306e | |
parent | 700dc2b5374cf142da8a2837d162a7b26a2946fc (diff) |
[ARM] Add fallocate syscall entry
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/kernel/calls.S | 1 | ||||
-rw-r--r-- | include/asm-arm/unistd.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index a98d0c933db0..cecf658e3625 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S | |||
@@ -361,6 +361,7 @@ | |||
361 | CALL(sys_signalfd) | 361 | CALL(sys_signalfd) |
362 | /* 350 */ CALL(sys_timerfd) | 362 | /* 350 */ CALL(sys_timerfd) |
363 | CALL(sys_eventfd) | 363 | CALL(sys_eventfd) |
364 | CALL(sys_fallocate) | ||
364 | #ifndef syscalls_counted | 365 | #ifndef syscalls_counted |
365 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls | 366 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls |
366 | #define syscalls_counted | 367 | #define syscalls_counted |
diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h index d327b25c986c..88e868b7aae0 100644 --- a/include/asm-arm/unistd.h +++ b/include/asm-arm/unistd.h | |||
@@ -378,6 +378,7 @@ | |||
378 | #define __NR_signalfd (__NR_SYSCALL_BASE+349) | 378 | #define __NR_signalfd (__NR_SYSCALL_BASE+349) |
379 | #define __NR_timerfd (__NR_SYSCALL_BASE+350) | 379 | #define __NR_timerfd (__NR_SYSCALL_BASE+350) |
380 | #define __NR_eventfd (__NR_SYSCALL_BASE+351) | 380 | #define __NR_eventfd (__NR_SYSCALL_BASE+351) |
381 | #define __NR_fallocate (__NR_SYSCALL_BASE+352) | ||
381 | 382 | ||
382 | /* | 383 | /* |
383 | * The following SWIs are ARM private. | 384 | * The following SWIs are ARM private. |