Skip to content

Commit

Permalink
avr32: wire up accept4 syscall
Browse files Browse the repository at this point in the history
The accept4 syscall is missing on AVR32.  Fix this.

Signed-off-by: Mans Rullgard <[email protected]>
Acked-by: Hans-Christian Noren Egtvedt <[email protected]>
  • Loading branch information
mansr authored and egtvedt committed Jan 11, 2016
1 parent afd2ff9 commit 6067a00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/avr32/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
1 change: 1 addition & 0 deletions arch/avr32/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 6067a00

Please sign in to comment.