From: Mans Rullgard Date: Tue, 5 Jan 2016 21:21:45 +0000 (+0000) Subject: avr32: wire up accept4 syscall X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6067a0037ccad272e9697098ba9a5c9c3e109b70;p=deliverable%2Flinux.git avr32: wire up accept4 syscall The accept4 syscall is missing on AVR32. Fix this. Signed-off-by: Mans Rullgard Acked-by: Hans-Christian Noren Egtvedt --- diff --git a/arch/avr32/include/uapi/asm/unistd.h b/arch/avr32/include/uapi/asm/unistd.h index bbe2fba565cd..40cd523615d8 100644 --- a/arch/avr32/include/uapi/asm/unistd.h +++ b/arch/avr32/include/uapi/asm/unistd.h @@ -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 */ diff --git a/arch/avr32/kernel/syscall_table.S b/arch/avr32/kernel/syscall_table.S index c3b593bfc3b3..6fa80a42dc23 100644 --- a/arch/avr32/kernel/syscall_table.S +++ b/arch/avr32/kernel/syscall_table.S @@ -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 */