riscv, bpf: Extract emit_ldx() helper
There's a lot of redundant code related to load into register operations, let's extract emit_ldx() to make code more compact. Signed-off-by:Pu Lehui <pulehui@huawei.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Tested-by:
Björn Töpel <bjorn@rivosinc.com> Reviewed-by:
Björn Töpel <bjorn@rivosinc.com> Acked-by:
Björn Töpel <bjorn@kernel.org> Link: https://lore.kernel.org/bpf/20250719091730.2660197-4-pulehui@huaweicloud.com
Loading
Please sign in to comment