sh: Wire up recvmmsg syscall.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 11 Dec 2009 06:29:31 +0000 (15:29 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 11 Dec 2009 06:29:31 +0000 (15:29 +0900)
The stub already existed in the _64 syscall table, but was lacking a
__NR_recvmmsg definition, while it was absent entirely for _32 variants.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/unistd_32.h
arch/sh/include/asm/unistd_64.h
arch/sh/kernel/syscalls_32.S

index f3fd1b9..f18c4f9 100644 (file)
 #define __NR_pwritev           334
 #define __NR_rt_tgsigqueueinfo 335
 #define __NR_perf_event_open   336
+#define __NR_recvmmsg          337
 
-#define NR_syscalls 337
+#define NR_syscalls 338
 
 #ifdef __KERNEL__
 
index 343ce8f..3e7645d 100644 (file)
 #define __NR_pwritev           362
 #define __NR_rt_tgsigqueueinfo 363
 #define __NR_perf_event_open   364
+#define __NR_recvmmsg          365
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 365
+#define NR_syscalls 366
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index 19fd11d..4bd5a11 100644 (file)
@@ -353,3 +353,4 @@ ENTRY(sys_call_table)
        .long sys_pwritev
        .long sys_rt_tgsigqueueinfo     /* 335 */
        .long sys_perf_event_open
+       .long sys_recvmmsg