]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
riscv, bpf: Extract emit_stx() helper
authorPu Lehui <pulehui@huawei.com>
Sat, 19 Jul 2025 09:17:21 +0000 (09:17 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Aug 2025 08:46:51 +0000 (10:46 +0200)
commit02fc01adec1c4b107fed08c30ac979b62136998f
tree4e6c5a38d6b2fd705bb68bceb03058af605c3718
parent07866544e410e4c895a729971e4164861b41fad5
riscv, bpf: Extract emit_stx() helper

There's a lot of redundant code related to store from register
operations, let's extract emit_stx() 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-2-pulehui@huaweicloud.com
arch/riscv/net/bpf_jit_comp64.c