aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-09-14 04:43:11 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-09-14 04:43:11 -0400
commit51d149be0a535634b86493a4d910e3320cc984ea (patch)
tree54da47b8e983f4062ca69742c3bd5fd90752852a /arch
parent459ebb34bd90f1ff12725a17289b7defbc6cd655 (diff)
sh: Provide a non-multiplexed sys_recvmmsg path.
Now that the rest of the socket calls are provided through their own paths, do the same for sys_recvmmsg. It's unlikely we'll ever be able to kill off the socketcall path, but this at least permits userspace to gradually begin migrating. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/include/asm/unistd_32.h39
-rw-r--r--arch/sh/kernel/syscalls_32.S1
2 files changed, 20 insertions, 20 deletions
diff --git a/arch/sh/include/asm/unistd_32.h b/arch/sh/include/asm/unistd_32.h
index 2000709e681f..903cd618eb74 100644
--- a/arch/sh/include/asm/unistd_32.h
+++ b/arch/sh/include/asm/unistd_32.h
@@ -350,30 +350,29 @@
350#define __NR_prlimit64 339 350#define __NR_prlimit64 339
351 351
352/* Non-multiplexed socket family */ 352/* Non-multiplexed socket family */
353#define __NR_socket 340 353#define __NR_socket 340
354#define __NR_bind 341 354#define __NR_bind 341
355#define __NR_connect 342 355#define __NR_connect 342
356#define __NR_listen 343 356#define __NR_listen 343
357#define __NR_accept 344 357#define __NR_accept 344
358#define __NR_getsockname 345 358#define __NR_getsockname 345
359#define __NR_getpeername 346 359#define __NR_getpeername 346
360#define __NR_socketpair 347 360#define __NR_socketpair 347
361#define __NR_send 348 361#define __NR_send 348
362#define __NR_sendto 349 362#define __NR_sendto 349
363#define __NR_recv 350 363#define __NR_recv 350
364#define __NR_recvfrom 351 364#define __NR_recvfrom 351
365#define __NR_shutdown 352 365#define __NR_shutdown 352
366#define __NR_setsockopt 353 366#define __NR_setsockopt 353
367#define __NR_getsockopt 354 367#define __NR_getsockopt 354
368#define __NR_sendmsg 355 368#define __NR_sendmsg 355
369#define __NR_recvmsg 356 369#define __NR_recvmsg 356
370#define __NR_recvmmsg 357
370 371
371#define NR_syscalls 357 372#define NR_syscalls 358
372 373
373#ifdef __KERNEL__ 374#ifdef __KERNEL__
374 375
375#define __IGNORE_recvmmsg
376
377#define __ARCH_WANT_IPC_PARSE_VERSION 376#define __ARCH_WANT_IPC_PARSE_VERSION
378#define __ARCH_WANT_OLD_READDIR 377#define __ARCH_WANT_OLD_READDIR
379#define __ARCH_WANT_OLD_STAT 378#define __ARCH_WANT_OLD_STAT
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S
index 0847433e2dbe..e872e81add8a 100644
--- a/arch/sh/kernel/syscalls_32.S
+++ b/arch/sh/kernel/syscalls_32.S
@@ -374,3 +374,4 @@ ENTRY(sys_call_table)
374 .long sys_getsockopt 374 .long sys_getsockopt
375 .long sys_sendmsg /* 355 */ 375 .long sys_sendmsg /* 355 */
376 .long sys_recvmsg 376 .long sys_recvmsg
377 .long sys_recvmmsg