diff options
| author | Björn Töpel <[email protected]> | 2021-03-10 09:09:28 +0100 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-03-10 13:38:07 -0800 |
| commit | 2882c48bf8f2fb9ec31cbb68be6b979da48f880d (patch) | |
| tree | a24609c89cad61c8033009f57967c525d44461da /tools/perf/scripts/python | |
| parent | a9c80b03e586fd3819089fbd33c38fb65ad5e00c (diff) | |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions