diff options
author | Mans Rullgard <mans@mansr.com> | 2016-01-05 16:21:45 -0500 |
---|---|---|
committer | Hans-Christian Egtvedt <egtvedt@samfundet.no> | 2016-01-11 10:29:11 -0500 |
commit | 6067a0037ccad272e9697098ba9a5c9c3e109b70 (patch) | |
tree | 948840eab78070b072319814876328ed9c55d8f2 | |
parent | afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc (diff) |
avr32: wire up accept4 syscall
The accept4 syscall is missing on AVR32. Fix this.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
-rw-r--r-- | arch/avr32/include/uapi/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/avr32/kernel/syscall_table.S | 1 |
2 files changed, 2 insertions, 0 deletions
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 @@ | |||
333 | #define __NR_memfd_create 318 | 333 | #define __NR_memfd_create 318 |
334 | #define __NR_bpf 319 | 334 | #define __NR_bpf 319 |
335 | #define __NR_execveat 320 | 335 | #define __NR_execveat 320 |
336 | #define __NR_accept4 321 | ||
336 | 337 | ||
337 | #endif /* _UAPI__ASM_AVR32_UNISTD_H */ | 338 | #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: | |||
334 | .long sys_memfd_create | 334 | .long sys_memfd_create |
335 | .long sys_bpf | 335 | .long sys_bpf |
336 | .long sys_execveat /* 320 */ | 336 | .long sys_execveat /* 320 */ |
337 | .long sys_accept4 | ||
337 | .long sys_ni_syscall /* r8 is saturated at nr_syscalls */ | 338 | .long sys_ni_syscall /* r8 is saturated at nr_syscalls */ |