avr32: wire up missing syscalls
authorHans-Christian Egtvedt <egtvedt@samfundet.no>
Wed, 6 Jan 2016 08:10:47 +0000 (09:10 +0100)
committerHans-Christian Egtvedt <egtvedt@samfundet.no>
Mon, 11 Jan 2016 15:29:11 +0000 (16:29 +0100)
This patch adds three missing syscalls to AVR32:
__NR_userfaultfd
__NR_membarrier
__NR_mlock2

Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
arch/avr32/include/uapi/asm/unistd.h
arch/avr32/kernel/syscall_table.S

index 40cd523615d862b9865e254029bec91b2e0b5b57..b60132bb27ea7d7be7d0e306d49e9071142061ac 100644 (file)
 #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 */
index 6fa80a42dc23ba7f9a78a228baf47e2ea60f64ab..1915a443b4914de8d27347688dc06f048ee22473 100644 (file)
@@ -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 */