]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf,x86: introduce emit_store_stack_imm64() for trampoline
authorMenglong Dong <menglong8.dong@gmail.com>
Sat, 24 Jan 2026 06:20:01 +0000 (14:20 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 25 Jan 2026 02:49:36 +0000 (18:49 -0800)
commit37c7ba1b39c493229d1b3c1f6ab466a23362e21e
tree5aaf12660dec685dba3b2c1dbe25b79ada4f008b
parenteeee4239dbb155a98f8ba737324ac081acde8417
bpf,x86: introduce emit_store_stack_imm64() for trampoline

Introduce the helper emit_store_stack_imm64(), which is used to store a
imm64 to the stack with the help of a register.

Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Link: https://lore.kernel.org/r/20260124062008.8657-7-dongml2@chinatelecom.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/x86/net/bpf_jit_comp.c