OSDN Git Service

libbpf: xsk: Move barriers from libbpf_util.h to xsk.h
authorBjörn Töpel <bjorn.topel@intel.com>
Wed, 10 Mar 2021 08:09:29 +0000 (09:09 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 10 Mar 2021 21:45:16 +0000 (13:45 -0800)
commit7e8bbe24cb8b20e2719ec58bf6937ab2e484add2
tree12538ac5ab0550756e539ca5a6415c8e73a447fb
parent2882c48bf8f2fb9ec31cbb68be6b979da48f880d
libbpf: xsk: Move barriers from libbpf_util.h to xsk.h

The only user of libbpf_util.h is xsk.h. Move the barriers to xsk.h,
and remove libbpf_util.h. The barriers are used as an implementation
detail, and should not be considered part of the stable API.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210310080929.641212-3-bjorn.topel@gmail.com
tools/lib/bpf/Makefile
tools/lib/bpf/libbpf_util.h [deleted file]
tools/lib/bpf/xsk.h