ARM: enable bpf syscall
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 28 Oct 2014 15:27:07 +0000 (15:27 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 29 Oct 2014 00:18:20 +0000 (00:18 +0000)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/uapi/asm/unistd.h
arch/arm/kernel/calls.S

index 3aaa75c..705bb76 100644 (file)
 #define __NR_seccomp                   (__NR_SYSCALL_BASE+383)
 #define __NR_getrandom                 (__NR_SYSCALL_BASE+384)
 #define __NR_memfd_create              (__NR_SYSCALL_BASE+385)
+#define __NR_bpf                       (__NR_SYSCALL_BASE+386)
 
 /*
  * The following SWIs are ARM private.
index 9f899d8..e51833f 100644 (file)
                CALL(sys_seccomp)
                CALL(sys_getrandom)
 /* 385 */      CALL(sys_memfd_create)
+               CALL(sys_bpf)
 #ifndef syscalls_counted
 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
 #define syscalls_counted