net/tap: fix build on ppc
This patch defines __NR_bpf for powerpc architecture and hence, fixes compiling tap driver for this architecture. Fixes: b02d85e1 ("net/tap: add eBPF API") Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com> Acked-by: Pascal Mazon <pascal.mazon@6wind.com>
This commit is contained in:
parent
fc1b5ec522
commit
3eaad8e530
@ -97,6 +97,8 @@ union bpf_attr {
|
||||
# define __NR_bpf 349
|
||||
# elif defined(__s390__)
|
||||
# define __NR_bpf 351
|
||||
# elif defined(__powerpc__)
|
||||
# define __NR_bpf 361
|
||||
# else
|
||||
# error __NR_bpf not defined
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user