Explorar el Código

asm-generic: add sys_recvmmsg to unistd.h

sys_recvmmsg was recently merged, add it to asm-generic
as well so new architectures can use it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Arnd Bergmann hace 15 años
padre
commit
3d77038706
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      include/asm-generic/unistd.h

+ 3 - 1
include/asm-generic/unistd.h

@@ -624,9 +624,11 @@ __SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo)
 __SYSCALL(__NR_perf_event_open, sys_perf_event_open)
 __SYSCALL(__NR_perf_event_open, sys_perf_event_open)
 #define __NR_accept4 242
 #define __NR_accept4 242
 __SYSCALL(__NR_accept4, sys_accept4)
 __SYSCALL(__NR_accept4, sys_accept4)
+#define __NR_recvmmsg 243
+__SYSCALL(__NR_recvmmsg, sys_recvmmsg)
 
 
 #undef __NR_syscalls
 #undef __NR_syscalls
-#define __NR_syscalls 243
+#define __NR_syscalls 244
 
 
 /*
 /*
  * All syscalls below here should go away really,
  * All syscalls below here should go away really,