From: Hans-Christian Noren Egtvedt Date: Tue, 17 Oct 2017 07:11:44 +0000 (+0200) Subject: missing: fix bpf() define for Tilera X-Git-Tag: v237~129^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66ffb275faa0656cfc7fd51292357989719b8d5a;p=platform%2Fupstream%2Fsystemd.git missing: fix bpf() define for Tilera __NR_bpf syscall uses the default generic value for Tilera, e.g. 280. --- diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index fd82c11..5138a74 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