summaryrefslogtreecommitdiff
path: root/src/basic/missing_syscall.h
diff options
context:
space:
mode:
authorHans-Christian Noren Egtvedt <hegtvedt@cisco.com>2017-10-11 10:48:39 +0200
committerHenrik Grindal Bakken <hgb@ifi.uio.no>2018-01-10 12:31:39 +0100
commitd07ba5d79004c7046c38362a638f961ee16504ec (patch)
tree1ccfc2e4643796b335cb039164057044bc1b9675 /src/basic/missing_syscall.h
parent66ffb275faa0656cfc7fd51292357989719b8d5a (diff)
downloadsystemd-d07ba5d79004c7046c38362a638f961ee16504ec.tar.gz
missing: add bpf() define for ARM definition
Diffstat (limited to 'src/basic/missing_syscall.h')
-rw-r--r--src/basic/missing_syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h
index 5138a74a06..c938d0d976 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__