Skip to contentSkip to conversation

avr32: wire up accept4 syscall

PATCH In review Mans Rullgard 2 participants 2 messages Jan 5, 2016 – Jan 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avr32: wire up accept4 syscall

The accept4 syscall is missing on AVR32. Fix this.

---
 arch/avr32/include/uapi/asm/unistd.h | 1 +
 arch/avr32/kernel/syscall_table.S    | 1 +
 2 files changed, 2 insertions(+)
arch/avr32/include/uapi/asm/unistd.h +1 -0
index bbe2fba565cd..40cd523615d8 100644
@@ -333,5 +333,6 @@
 #define __NR_memfd_create	318
 #define __NR_bpf		319
 #define __NR_execveat		320
+#define __NR_accept4		321
 
 #endif /* _UAPI__ASM_AVR32_UNISTD_H */
arch/avr32/kernel/syscall_table.S +1 -0
index c3b593bfc3b3..6fa80a42dc23 100644
@@ -334,4 +334,5 @@ sys_call_table:
 	.long	sys_memfd_create
 	.long	sys_bpf
 	.long	sys_execveat		/* 320 */
+	.long	sys_accept4
 	.long	sys_ni_syscall		/* r8 is saturated at nr_syscalls */
Signature · 1 line
2.6.3
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Mans Rullgard

The accept4 syscall is missing on AVR32. Fix this.

Thank you.

I'll add it to my for-linus branch and push for next merge window.

Quoted 4 lines
---
 arch/avr32/include/uapi/asm/unistd.h | 1 +
 arch/avr32/kernel/syscall_table.S    | 1 +
 2 files changed, 2 insertions(+)

<snipp diff>

Signature · 1 line
Best regards, Hans-Christian Noren Egtvedt