missing: fix bpf() define for Tilera

__NR_bpf syscall uses the default generic value for Tilera, e.g. 280.
This commit is contained in:
Hans-Christian Noren Egtvedt 2017-10-17 09:11:44 +02:00 committed by Henrik Grindal Bakken
parent 05da675a5a
commit 66ffb275fa

View file

@ -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