riscv, bpf: Add support for far branching when emitting tail call
authorBjörn Töpel <bjorn.topel@gmail.com>
Mon, 16 Dec 2019 09:13:37 +0000 (10:13 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 19 Dec 2019 15:03:30 +0000 (16:03 +0100)
commit29d92edd9ee8b37bd8e9a0ba7fd549f874e0d069
treefe654fdcbe43e8f5ec7f7ca5825b66bcf4614b33
parent7d1ef13fea2b66bb466592a7855b33181c85ec5f
riscv, bpf: Add support for far branching when emitting tail call

Start use the emit_branch() function in the tail call emitter in order
to support far branching.

Signed-off-by: Björn Töpel <bjorn.topel@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191216091343.23260-4-bjorn.topel@gmail.com
arch/riscv/net/bpf_jit_comp.c