diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2020-09-17 00:10:06 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-17 22:59:31 +0300 |
commit | cf71b174d3464c7dc22f86f25d629a8d9d5c3519 (patch) | |
tree | ed39dc09cc524f23513f52f751fd7ce8d62f7b35 /include/linux/bpf.h | |
parent | a748c6975dea325da540610c2ba9b5f332c603e6 (diff) | |
download | linux-cf71b174d3464c7dc22f86f25d629a8d9d5c3519.tar.xz |
bpf: rename poke descriptor's 'ip' member to 'tailcall_target'
Reflect the actual purpose of poke->ip and rename it to
poke->tailcall_target so that it will not the be confused with another
poke target that will be introduced in next commit.
While at it, do the same thing with poke->ip_stable - rename it to
poke->tailcall_target_stable.
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/bpf.h')
-rw-r--r-- | include/linux/bpf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index a23e5eb728c8..f3790c9cf542 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -697,14 +697,14 @@ enum bpf_jit_poke_reason { /* Descriptor of pokes pointing /into/ the JITed image. */ struct bpf_jit_poke_descriptor { - void *ip; + void *tailcall_target; union { struct { struct bpf_map *map; u32 key; } tail_call; }; - bool ip_stable; + bool tailcall_target_stable; u8 adj_off; u16 reason; u32 insn_idx; |