diff options
Diffstat (limited to 'include/linux/bpf.h')
-rw-r--r-- | include/linux/bpf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 57d60dc5b600..909fc033173a 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h | |||
@@ -8,10 +8,12 @@ | |||
8 | #define _LINUX_BPF_H 1 | 8 | #define _LINUX_BPF_H 1 |
9 | 9 | ||
10 | #include <uapi/linux/bpf.h> | 10 | #include <uapi/linux/bpf.h> |
11 | |||
11 | #include <linux/workqueue.h> | 12 | #include <linux/workqueue.h> |
12 | #include <linux/file.h> | 13 | #include <linux/file.h> |
13 | #include <linux/percpu.h> | 14 | #include <linux/percpu.h> |
14 | #include <linux/err.h> | 15 | #include <linux/err.h> |
16 | #include <linux/rbtree_latch.h> | ||
15 | 17 | ||
16 | struct perf_event; | 18 | struct perf_event; |
17 | struct bpf_map; | 19 | struct bpf_map; |
@@ -177,6 +179,8 @@ struct bpf_prog_aux { | |||
177 | atomic_t refcnt; | 179 | atomic_t refcnt; |
178 | u32 used_map_cnt; | 180 | u32 used_map_cnt; |
179 | u32 max_ctx_offset; | 181 | u32 max_ctx_offset; |
182 | struct latch_tree_node ksym_tnode; | ||
183 | struct list_head ksym_lnode; | ||
180 | const struct bpf_verifier_ops *ops; | 184 | const struct bpf_verifier_ops *ops; |
181 | struct bpf_map **used_maps; | 185 | struct bpf_map **used_maps; |
182 | struct bpf_prog *prog; | 186 | struct bpf_prog *prog; |