uapi: minor upstream btf.h header change
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
6eccf7ecdb
commit
1bb38f6c5e
|
|
@ -83,7 +83,7 @@ struct btf_type {
|
||||||
* is the 32 bits arrangement:
|
* is the 32 bits arrangement:
|
||||||
*/
|
*/
|
||||||
#define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24)
|
#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)
|
#define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff)
|
||||||
|
|
||||||
/* Attributes stored in the BTF_INT_ENCODING */
|
/* Attributes stored in the BTF_INT_ENCODING */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue