Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2474c628 authored by Gary Lin's avatar Gary Lin Committed by Daniel Borkmann
Browse files

tools/bpf: Sync kernel btf.h header



For the fix of BTF_INT_OFFSET().

Signed-off-by: default avatarGary Lin <glin@suse.com>
Acked-by: default avatarAndrii Nakryiko <andriin@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 948dc8c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ struct btf_type {
 * is the 32 bits arrangement:
 */
#define BTF_INT_ENCODING(VAL)	(((VAL) & 0x0f000000) >> 24)
#define BTF_INT_OFFSET(VAL)	(((VAL  & 0x00ff0000)) >> 16)
#define BTF_INT_OFFSET(VAL)	(((VAL) & 0x00ff0000) >> 16)
#define BTF_INT_BITS(VAL)	((VAL)  & 0x000000ff)

/* Attributes stored in the BTF_INT_ENCODING */