diff options
author | 2021-03-10 09:09:28 +0100 | |
---|---|---|
committer | 2021-03-10 13:38:07 -0800 | |
commit | 2882c48bf8f2fb9ec31cbb68be6b979da48f880d (patch) | |
tree | a24609c89cad61c8033009f57967c525d44461da /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Fix warning comparing pointer to 0 (diff) | |
download | wireguard-linux-2882c48bf8f2fb9ec31cbb68be6b979da48f880d.tar.xz wireguard-linux-2882c48bf8f2fb9ec31cbb68be6b979da48f880d.zip |
libbpf: xsk: Remove linux/compiler.h header
In commit 291471dd1559 ("libbpf, xsk: Add libbpf_smp_store_release
libbpf_smp_load_acquire") linux/compiler.h was added as a dependency
to xsk.h, which is the user-facing API. This makes it harder for
userspace application to consume the library. Here the header
inclusion is removed, and instead {READ,WRITE}_ONCE() is added
explicitly.
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-2-bjorn.topel@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions