Skip to content

Commit 911515b

Browse files
committed
fix: kernel headers
1 parent e00cc72 commit 911515b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

core/include/ir.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ int bpf_ir_valid_alu_type(enum ir_alu_op_type type);
7171

7272
int bpf_ir_valid_vr_type(enum ir_vr_type type);
7373

74+
u32 bpf_ir_sizeof_vr_type(enum ir_vr_type type);
75+
7476
/**
7577
Pre-IR BB
7678

core/include/ir_cg.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ struct ir_insn *bpf_ir_create_insn_base_norm(struct bpf_ir_env *env,
1919
struct ir_basic_block *bb,
2020
struct ir_vr_pos dstpos);
2121

22-
u32 bpf_ir_sizeof_vr_type(enum ir_vr_type type);
23-
2422
void bpf_ir_erase_insn_norm(struct ir_insn *insn);
2523

2624
void bpf_ir_init_insn_norm(struct bpf_ir_env *env, struct ir_insn *insn,

core/scripts/gen_kernel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ rm ${KERNEL_PATH}/include/linux/bpf_ir.h
5050

5151
cp include/linux/bpf_ir.h ${KERNEL_PATH}/include/linux/
5252
cp include/ir_cg.h ${KERNEL_PATH}/kernel/bpf/ir/
53+
cp include/ir.h ${KERNEL_PATH}/kernel/bpf/ir/

0 commit comments

Comments
 (0)