From 2d0445c67baff3c59941b2fadaefc4031940047e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 1 Oct 2019 08:55:01 -0700 Subject: [PATCH] uapi: update btf from 5.4-rc1 Signed-off-by: Stephen Hemminger --- include/uapi/linux/btf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/btf.h b/include/uapi/linux/btf.h index 8ef8001d..d28dd89a 100644 --- a/include/uapi/linux/btf.h +++ b/include/uapi/linux/btf.h @@ -22,9 +22,9 @@ struct btf_header { }; /* Max # of type identifier */ -#define BTF_MAX_TYPE 0x0000ffff +#define BTF_MAX_TYPE 0x000fffff /* Max offset into the string section */ -#define BTF_MAX_NAME_OFFSET 0x0000ffff +#define BTF_MAX_NAME_OFFSET 0x00ffffff /* Max # of struct/union/enum members or func args */ #define BTF_MAX_VLEN 0xffff