From d07ba5d79004c7046c38362a638f961ee16504ec Mon Sep 17 00:00:00 2001 From: Hans-Christian Noren Egtvedt Date: Wed, 11 Oct 2017 10:48:39 +0200 Subject: [PATCH] missing: add bpf() define for ARM definition --- src/basic/missing_syscall.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 5138a74..c938d0d 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -330,6 +330,8 @@ static inline ssize_t copy_file_range(int fd_in, loff_t *off_in, # define __NR_bpf 321 # elif defined __aarch64__ # define __NR_bpf 280 +# elif defined __arm__ +# define __NR_bpf 386 # elif defined __sparc__ # define __NR_bpf 349 # elif defined __s390__ -- 2.7.4