include: fix BPF_CALL_REL definition

Fix our Github-specific definition of BPF_CALL_REL macro. It was missing
the code part.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
Andrii Nakryiko
2024-03-01 15:28:37 -08:00
committed by Andrii Nakryiko
parent f4e9b606f4
commit fb98d4bd25

View File

@@ -39,6 +39,7 @@
#define BPF_CALL_REL(DST) \ #define BPF_CALL_REL(DST) \
((struct bpf_insn) { \ ((struct bpf_insn) { \
.code = BPF_JMP | BPF_CALL, \
.dst_reg = 0, \ .dst_reg = 0, \
.src_reg = BPF_PSEUDO_CALL, \ .src_reg = BPF_PSEUDO_CALL, \
.off = 0, \ .off = 0, \