diff options
author | 2021-09-07 11:58:59 +0200 | |
---|---|---|
committer | 2021-09-16 10:39:55 +0200 | |
commit | 1511df6f5e9ef32826f20db2ee81f8527154dc14 (patch) | |
tree | 14f1385f7edd9c645bcf29fc8e8903e8187b4564 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.15-rc1 (diff) | |
download | linux-dev-1511df6f5e9ef32826f20db2ee81f8527154dc14.tar.xz linux-dev-1511df6f5e9ef32826f20db2ee81f8527154dc14.zip |
s390/bpf: Fix branch shortening during codegen pass
EMIT6_PCREL() macro assumes that the previous pass generated 6 bytes
of code, which is not the case if branch shortening took place. Fix by
using jit->prg, like all the other EMIT6_PCREL_*() macros.
Reported-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Fixes: 4e9b4a6883dd ("s390/bpf: Use relative long branches")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions