diff options
author | Hans-Christian Noren Egtvedt <hegtvedt@cisco.com> | 2017-10-17 09:11:44 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-01-13 12:19:22 -0500 |
commit | 6cce1e7958b03bf8706486b8469d52f9843db4f9 (patch) | |
tree | 74982f97a0ea5c0c45e815ae6d49efd46a9d33ae | |
parent | timesync: fix typo (diff) | |
download | systemd-6cce1e7958b03bf8706486b8469d52f9843db4f9.tar.gz systemd-6cce1e7958b03bf8706486b8469d52f9843db4f9.tar.bz2 systemd-6cce1e7958b03bf8706486b8469d52f9843db4f9.zip |
missing: fix bpf() define for Tilera
__NR_bpf syscall uses the default generic value for Tilera, e.g. 280.
(cherry picked from commit 66ffb275faa0656cfc7fd51292357989719b8d5a)
-rw-r--r-- | src/basic/missing_syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index fd82c11e9..5138a74a0 100644 --- 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 |