summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorIlya Leoshkevich2019-07-18 11:13:35 +0200
committerAlexei Starovoitov2019-07-18 22:49:21 +0200
commit01a0f9e4496d9f54e06abb71bf9f56c617ef8c24 (patch)
tree012d8afb1916367dc45623140ed6f2af898951e8 /samples
parentselftests/bpf: fix perf_buffer on s390 (diff)
downloadkernel-qcow2-linux-01a0f9e4496d9f54e06abb71bf9f56c617ef8c24.tar.gz
kernel-qcow2-linux-01a0f9e4496d9f54e06abb71bf9f56c617ef8c24.tar.xz
kernel-qcow2-linux-01a0f9e4496d9f54e06abb71bf9f56c617ef8c24.zip
selftests/bpf: fix "valid read map access into a read-only array 1" on s390
This test looks up a 32-bit map element and then loads it using a 64-bit load. This does not work on s390, which is a big-endian machine. Since the point of this test doesn't seem to be loading a smaller value using a larger load, simply use a 32-bit load. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions