net/tap: fix build on ppc
authorGowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Tue, 30 Jan 2018 07:05:13 +0000 (12:35 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 30 Jan 2018 13:28:14 +0000 (14:28 +0100)
commit3eaad8e53084eb797a4ea994cc7275f75e67027c
tree304353f421377bb1a603349568071048129136ac
parentfc1b5ec522ee92f303cb74e683a5efe477cf9b56
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>
drivers/net/tap/tap_bpf.h