selftests: bpf: relax sub-register mode compilation criteria
authorJiong Wang <jiong.wang@netronome.com>
Mon, 11 Feb 2019 12:01:21 +0000 (12:01 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 12 Feb 2019 04:31:38 +0000 (20:31 -0800)
commit64e39ee2c84bd8eac1bd3ea370c4ada5163befac
treec15fc10d8555596f6bb50731470f680e08c61bfd
parentbd4aed0ee73ca873bef3cb3ec746dd796f03df28
selftests: bpf: relax sub-register mode compilation criteria

Sub-register mode compilation was enabled only when there are eBPF "v3"
processor supports at both compilation time inside LLVM and runtime inside
kernel.

Given separation betwen build and test server could be often, this patch
removes the runtime support criteria.

Suggested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/Makefile