2009-11-30 19:50:23

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: [PATCH 1/1] MIPS: Wire up recvmmsg syscall

From: Arnaldo Carvalho de Melo <[email protected]>

Cc: Ralf Baechle <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
arch/mips/include/asm/unistd.h | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h
index 8c9dfa9..65c679e 100644
--- a/arch/mips/include/asm/unistd.h
+++ b/arch/mips/include/asm/unistd.h
@@ -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

@@ -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

@@ -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__

--
1.6.2.5


2009-11-30 20:03:28

by Ralf Baechle

[permalink] [raw]
Subject: Re: [PATCH 1/1] MIPS: Wire up recvmmsg syscall

On Mon, Nov 30, 2009 at 05:50:15PM -0200, Arnaldo Carvalho de Melo wrote:

> From: Arnaldo Carvalho de Melo <[email protected]>
>
> Cc: Ralf Baechle <[email protected]>
> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
> ---
> arch/mips/include/asm/unistd.h | 15 +++++++++------
> 1 files changed, 9 insertions(+), 6 deletions(-)

Looks good. Dave, wanna merge this through the netdev tree?

Acked-by: Ralf Baechle <[email protected]>

Ralf

2009-11-30 20:38:56

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 1/1] MIPS: Wire up recvmmsg syscall

From: Ralf Baechle <[email protected]>
Date: Mon, 30 Nov 2009 20:03:19 +0000

> On Mon, Nov 30, 2009 at 05:50:15PM -0200, Arnaldo Carvalho de Melo wrote:
>
>> From: Arnaldo Carvalho de Melo <[email protected]>
>>
>> Cc: Ralf Baechle <[email protected]>
>> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
>> ---
>> arch/mips/include/asm/unistd.h | 15 +++++++++------
>> 1 files changed, 9 insertions(+), 6 deletions(-)
>
> Looks good. Dave, wanna merge this through the netdev tree?
>
> Acked-by: Ralf Baechle <[email protected]>

Sure, I'll take it there.