diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 4e2f95a9be4a..2e75a29f8f16 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -140,6 +140,9 @@ enum pageflags { #endif #ifdef CONFIG_KASAN_HW_TAGS PG_skip_kasan_poison, +#endif +#ifdef CONFIG_64BIT + PG_oem_reserved, #endif __NR_PAGEFLAGS, diff --git a/include/trace/events/mmflags.h b/include/trace/events/mmflags.h index 6532119a6bf1..9bd906d09788 100644 --- a/include/trace/events/mmflags.h +++ b/include/trace/events/mmflags.h @@ -91,8 +91,10 @@ #ifdef CONFIG_64BIT #define IF_HAVE_PG_ARCH_2(flag,string) ,{1UL << flag, string} +#define IF_HAVE_PG_OEM_RESERVED(flag,string) ,{1UL << flag, string} #else #define IF_HAVE_PG_ARCH_2(flag,string) +#define IF_HAVE_PG_OEM_RESERVED(flag,string) #endif #ifdef CONFIG_KASAN_HW_TAGS @@ -129,6 +131,7 @@ IF_HAVE_PG_HWPOISON(PG_hwpoison, "hwpoison" ) \ IF_HAVE_PG_IDLE(PG_young, "young" ) \ IF_HAVE_PG_IDLE(PG_idle, "idle" ) \ IF_HAVE_PG_ARCH_2(PG_arch_2, "arch_2" ) \ +IF_HAVE_PG_OEM_RESERVED(PG_oem_reserved,"oem_reserved" ) \ IF_HAVE_PG_SKIP_KASAN_POISON(PG_skip_kasan_poison, "skip_kasan_poison") #define show_page_flags(flags) \