aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-01-31 18:40:06 -0500
committerDaniel Borkmann <daniel@iogearbox.net>2019-02-01 14:55:39 -0500
commit7dac3ae42cf8203c0a9c54cb387512c91b64e22a (patch)
treee0514974277744adf80bb890a7b7ac2d0c711215
parente16d2f1ab96849b4b65e64b82550a7ecdbf405eb (diff)
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>
-rw-r--r--tools/include/uapi/linux/bpf.h7
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 {
2422 FN(map_peek_elem), \ 2422 FN(map_peek_elem), \
2423 FN(msg_push_data), \ 2423 FN(msg_push_data), \
2424 FN(msg_pop_data), \ 2424 FN(msg_pop_data), \
2425 FN(rc_pointer_rel), 2425 FN(rc_pointer_rel), \
2426 FN(spin_lock), \
2427 FN(spin_unlock),
2426 2428
2427/* integer value in 'imm' field of BPF_CALL instruction selects which helper 2429/* integer value in 'imm' field of BPF_CALL instruction selects which helper
2428 * function eBPF program intends to call 2430 * function eBPF program intends to call
@@ -3056,4 +3058,7 @@ struct bpf_line_info {
3056 __u32 line_col; 3058 __u32 line_col;
3057}; 3059};
3058 3060
3061struct bpf_spin_lock {
3062 __u32 val;
3063};
3059#endif /* _UAPI__LINUX_BPF_H__ */ 3064#endif /* _UAPI__LINUX_BPF_H__ */