Skip to content

Commit

Permalink
avr32: wire up missing syscalls
Browse files Browse the repository at this point in the history
This patch adds three missing syscalls to AVR32:
__NR_userfaultfd
__NR_membarrier
__NR_mlock2

Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
  • Loading branch information
Hans-Christian Egtvedt committed Jan 11, 2016
1 parent 6067a00 commit a193f07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/avr32/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,5 +334,8 @@
#define __NR_bpf 319
#define __NR_execveat 320
#define __NR_accept4 321
#define __NR_userfaultfd 322
#define __NR_membarrier 323
#define __NR_mlock2 324

#endif /* _UAPI__ASM_AVR32_UNISTD_H */
3 changes: 3 additions & 0 deletions arch/avr32/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,7 @@ sys_call_table:
.long sys_bpf
.long sys_execveat /* 320 */
.long sys_accept4
.long sys_userfaultfd
.long sys_membarrier
.long sys_mlock2
.long sys_ni_syscall /* r8 is saturated at nr_syscalls */

0 comments on commit a193f07

Please sign in to comment.