]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: BPF: Introduce emit_store_stack_imm64() helper
authorHengqi Chen <hengqi.chen@gmail.com>
Thu, 23 Apr 2026 04:49:36 +0000 (12:49 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 23 Apr 2026 04:49:36 +0000 (12:49 +0800)
commit6ef04707e8eee09360f70812c0ac63c712460bd0
tree04554b4f10d5d3515f5576e7944d502626fa8d49
parentc9ebe2016de967b47ce99d5af9bc791939c955f4
LoongArch: BPF: Introduce emit_store_stack_imm64() helper

Introduce a helper to store 64-bit immediate on the trampoline stack.
The helper will be used in the next patch. Also refactor the existing
code to use this helper.

Tested-by: Vincent Li <vincent.mc.li@gmail.com>
Reviewed-by: Menglong Dong <menglong8.dong@gmail.com>
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/net/bpf_jit.c