projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ffb27
)
missing: add bpf() define for ARM definition
author
Hans-Christian Noren Egtvedt
<hegtvedt@cisco.com>
Wed, 11 Oct 2017 08:48:39 +0000
(10:48 +0200)
committer
Henrik Grindal Bakken
<hgb@ifi.uio.no>
Wed, 10 Jan 2018 11:31:39 +0000
(12:31 +0100)
src/basic/missing_syscall.h
patch
|
blob
|
history
diff --git
a/src/basic/missing_syscall.h
b/src/basic/missing_syscall.h
index
5138a74
..
c938d0d
100644
(file)
--- 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__