diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-26 07:12:13 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-26 07:12:13 -0400 |
commit | a85fab1c795c88675ba3e23e68d821c57e9920fc (patch) | |
tree | 7263adfd02738c15c648fd013244f162107e377f | |
parent | fbb9e0b6e7d534b5d9e3c3eddb68b62d26ddb731 (diff) |
ARM: add sendmmsg syscall
Commit 228e548e (net: Add sendmmsg socket system call) added the new
sendmmsg syscall. Add this to the syscall table for ARM.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/include/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/arm/kernel/calls.S | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 87dbe3e21970..3de689aa6f68 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h | |||
@@ -400,6 +400,7 @@ | |||
400 | #define __NR_open_by_handle_at (__NR_SYSCALL_BASE+371) | 400 | #define __NR_open_by_handle_at (__NR_SYSCALL_BASE+371) |
401 | #define __NR_clock_adjtime (__NR_SYSCALL_BASE+372) | 401 | #define __NR_clock_adjtime (__NR_SYSCALL_BASE+372) |
402 | #define __NR_syncfs (__NR_SYSCALL_BASE+373) | 402 | #define __NR_syncfs (__NR_SYSCALL_BASE+373) |
403 | #define __NR_sendmmsg (__NR_SYSCALL_BASE+374) | ||
403 | 404 | ||
404 | /* | 405 | /* |
405 | * The following SWIs are ARM private. | 406 | * The following SWIs are ARM private. |
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 7fbf28c35bb2..24cdac3ce2e3 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S | |||
@@ -383,6 +383,7 @@ | |||
383 | CALL(sys_open_by_handle_at) | 383 | CALL(sys_open_by_handle_at) |
384 | CALL(sys_clock_adjtime) | 384 | CALL(sys_clock_adjtime) |
385 | CALL(sys_syncfs) | 385 | CALL(sys_syncfs) |
386 | CALL(sys_sendmmsg) | ||
386 | #ifndef syscalls_counted | 387 | #ifndef syscalls_counted |
387 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls | 388 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls |
388 | #define syscalls_counted | 389 | #define syscalls_counted |