diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-02-01 02:40:06 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-02-01 22:55:39 +0300 |
commit | 7dac3ae42cf8203c0a9c54cb387512c91b64e22a (patch) | |
tree | e0514974277744adf80bb890a7b7ac2d0c711215 /tools/include/uapi/linux | |
parent | e16d2f1ab96849b4b65e64b82550a7ecdbf405eb (diff) | |
download | linux-7dac3ae42cf8203c0a9c54cb387512c91b64e22a.tar.xz |
tools/bpf: sync include/uapi/linux/bpf.h
sync bpf.h
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include/uapi/linux')
-rw-r--r-- | tools/include/uapi/linux/bpf.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index 60b99b730a41..86f7c438d40f 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -2422,7 +2422,9 @@ union bpf_attr { FN(map_peek_elem), \ FN(msg_push_data), \ FN(msg_pop_data), \ - FN(rc_pointer_rel), + FN(rc_pointer_rel), \ + FN(spin_lock), \ + FN(spin_unlock), /* integer value in 'imm' field of BPF_CALL instruction selects which helper * function eBPF program intends to call @@ -3056,4 +3058,7 @@ struct bpf_line_info { __u32 line_col; }; +struct bpf_spin_lock { + __u32 val; +}; #endif /* _UAPI__LINUX_BPF_H__ */ |