Skip to content
Commit f16a7aa5 authored by James Hilliard's avatar James Hilliard Committed by Andrii Nakryiko
Browse files

selftests/bpf: Add GCC compatible builtins to bpf_legacy.h



The bpf_legacy.h header uses llvm specific load functions, add
GCC compatible variants as well to fix tests using these functions
under GCC.

Signed-off-by: default avatarJames Hilliard <james.hilliard1@gmail.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221201190939.3230513-1-james.hilliard1@gmail.com
parent bc067cac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment