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:
05da675
)
missing: fix bpf() define for Tilera
author
Hans-Christian Noren Egtvedt
<hegtvedt@cisco.com>
Tue, 17 Oct 2017 07:11:44 +0000
(09:11 +0200)
committer
Henrik Grindal Bakken
<hgb@ifi.uio.no>
Wed, 10 Jan 2018 09:59:01 +0000
(10:59 +0100)
__NR_bpf syscall uses the default generic value for Tilera, e.g. 280.
src/basic/missing_syscall.h
patch
|
blob
|
history
diff --git
a/src/basic/missing_syscall.h
b/src/basic/missing_syscall.h
index
fd82c11
..
5138a74
100644
(file)
--- a/
src/basic/missing_syscall.h
+++ b/
src/basic/missing_syscall.h
@@
-334,6
+334,8
@@
static inline ssize_t copy_file_range(int fd_in, loff_t *off_in,
# define __NR_bpf 349
# elif defined __s390__
# define __NR_bpf 351
+# elif defined __tilegx__
+# define __NR_bpf 280
# else
# warning "__NR_bpf not defined for your architecture"
# endif