bpf: enable bpf syscall on x64 and i386

done as separate commit to ease conflict resolution

Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexei Starovoitov
2014-09-26 00:16:58 -07:00
committed by David S. Miller
parent 99c55f7d47
commit 749730ce42
5 changed files with 10 additions and 2 deletions

View File

@@ -705,9 +705,11 @@ __SYSCALL(__NR_seccomp, sys_seccomp)
__SYSCALL(__NR_getrandom, sys_getrandom)
#define __NR_memfd_create 279
__SYSCALL(__NR_memfd_create, sys_memfd_create)
#define __NR_bpf 280
__SYSCALL(__NR_bpf, sys_bpf)
#undef __NR_syscalls
#define __NR_syscalls 280
#define __NR_syscalls 281
/*
* All syscalls below here should go away really,