Skip to content

Commit

Permalink
MIPS: Wire up recvmmsg syscall
Browse files Browse the repository at this point in the history
Reported-by: Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Arnaldo Carvalho de Melo authored and David S. Miller committed Dec 2, 2009
1 parent 6f7ad1e commit 5a5b6f6
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions arch/mips/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,16 +355,17 @@
#define __NR_rt_tgsigqueueinfo (__NR_Linux + 332)
#define __NR_perf_event_open (__NR_Linux + 333)
#define __NR_accept4 (__NR_Linux + 334)
#define __NR_recvmmsg (__NR_Linux + 335)

/*
* Offset of the last Linux o32 flavoured syscall
*/
#define __NR_Linux_syscalls 334
#define __NR_Linux_syscalls 335

#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */

#define __NR_O32_Linux 4000
#define __NR_O32_Linux_syscalls 334
#define __NR_O32_Linux_syscalls 335

#if _MIPS_SIM == _MIPS_SIM_ABI64

Expand Down Expand Up @@ -666,16 +667,17 @@
#define __NR_rt_tgsigqueueinfo (__NR_Linux + 291)
#define __NR_perf_event_open (__NR_Linux + 292)
#define __NR_accept4 (__NR_Linux + 293)
#define __NR_recvmmsg (__NR_Linux + 294)

/*
* Offset of the last Linux 64-bit flavoured syscall
*/
#define __NR_Linux_syscalls 293
#define __NR_Linux_syscalls 294

#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */

#define __NR_64_Linux 5000
#define __NR_64_Linux_syscalls 293
#define __NR_64_Linux_syscalls 294

#if _MIPS_SIM == _MIPS_SIM_NABI32

Expand Down Expand Up @@ -981,16 +983,17 @@
#define __NR_rt_tgsigqueueinfo (__NR_Linux + 295)
#define __NR_perf_event_open (__NR_Linux + 296)
#define __NR_accept4 (__NR_Linux + 297)
#define __NR_recvmmsg (__NR_Linux + 298)

/*
* Offset of the last N32 flavoured syscall
*/
#define __NR_Linux_syscalls 297
#define __NR_Linux_syscalls 298

#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */

#define __NR_N32_Linux 6000
#define __NR_N32_Linux_syscalls 297
#define __NR_N32_Linux_syscalls 298

#ifdef __KERNEL__

Expand Down

0 comments on commit 5a5b6f6

Please sign in to comment.