diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-10-13 18:08:59 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-10-20 11:40:01 -0700 |
commit | b16d12f3900283e00aded9131ba1e9b2880513c3 (patch) | |
tree | d2554f370313521bfa3386d6b1ef713ec991c6c4 /tools/lib | |
parent | b599015f044df53e93ad0a2957b615bc1a26bf73 (diff) |
selftests/bpf: Use cpu_number only on arches that have it
cpu_number exists only on Intel and aarch64, so skip the test involing
it on other arches. An alternative would be to replace it with an
exported non-ifdefed primitive-typed percpu variable from the common
code, but there appears to be none.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211013160902.428340-2-iii@linux.ibm.com
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions