diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-09-07 11:58:59 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-09-16 10:39:55 +0200 |
commit | 1511df6f5e9ef32826f20db2ee81f8527154dc14 (patch) | |
tree | 14f1385f7edd9c645bcf29fc8e8903e8187b4564 /Documentation/memory-barriers.txt | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) |
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 'Documentation/memory-barriers.txt')
0 files changed, 0 insertions, 0 deletions