diff options
author | Gary Lin <glin@suse.com> | 2019-05-13 23:15:50 -0400 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-05-14 04:06:23 -0400 |
commit | 2474c62898c63f8bb122ffda2cd93fdaad55603a (patch) | |
tree | cc22b620b0d7a828674746ff0229e061cf35e4c3 /tools | |
parent | 948dc8c99a22d6bdcb34c194cde392e1a125928a (diff) |
tools/bpf: Sync kernel btf.h header
For the fix of BTF_INT_OFFSET().
Signed-off-by: Gary Lin <glin@suse.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/include/uapi/linux/btf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/btf.h b/tools/include/uapi/linux/btf.h index 9310652ca4f9..63ae4a39e58b 100644 --- a/tools/include/uapi/linux/btf.h +++ b/tools/include/uapi/linux/btf.h | |||
@@ -83,7 +83,7 @@ struct btf_type { | |||
83 | * is the 32 bits arrangement: | 83 | * is the 32 bits arrangement: |
84 | */ | 84 | */ |
85 | #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) | 85 | #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) |
86 | #define BTF_INT_OFFSET(VAL) (((VAL & 0x00ff0000)) >> 16) | 86 | #define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) |
87 | #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) | 87 | #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) |
88 | 88 | ||
89 | /* Attributes stored in the BTF_INT_ENCODING */ | 89 | /* Attributes stored in the BTF_INT_ENCODING */ |