summaryrefslogtreecommitdiffstats
path: root/drivers/interconnect
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-11-02 04:37:55 +0100
committerAlexei Starovoitov <ast@kernel.org>2023-11-10 03:58:39 +0100
commitc697289efe4ef38bc5c62f119cb74433f784b826 (patch)
tree8d0218e3e7fb02b1647586e03d5ca0a01c133934 /drivers/interconnect
parentbpf: generalize is_branch_taken() to work with two registers (diff)
downloadlinux-c697289efe4ef38bc5c62f119cb74433f784b826.tar.xz
linux-c697289efe4ef38bc5c62f119cb74433f784b826.zip
bpf: move is_branch_taken() down
Move is_branch_taken() slightly down. In subsequent patched we'll need both flip_opcode() and is_pkt_ptr_branch_taken() for is_branch_taken(), but instead of sprinkling forward declarations around, it makes more sense to move is_branch_taken() lower below is_pkt_ptr_branch_taken(), and also keep it closer to very tightly related reg_set_min_max(), as they are two critical parts of the same SCALAR range tracking logic. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20231102033759.2541186-14-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/interconnect')
0 files changed, 0 insertions, 0 deletions