--- zzzz-none-000/linux-4.9.279/include/linux/gfp.h 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/include/linux/gfp.h 2023-02-08 11:43:43.000000000 +0000 @@ -447,13 +447,21 @@ struct page * __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order, - struct zonelist *zonelist, nodemask_t *nodemask); + struct zonelist *zonelist, nodemask_t *nodemask +#if defined(CONFIG_AVM_PAGE_TRACE) + , unsigned long pc +#endif/*--- #if defined(CONFIG_AVM_PAGE_TRACE) ---*/ + ); static inline struct page * __alloc_pages(gfp_t gfp_mask, unsigned int order, struct zonelist *zonelist) { - return __alloc_pages_nodemask(gfp_mask, order, zonelist, NULL); + return __alloc_pages_nodemask(gfp_mask, order, zonelist, NULL +#if defined(CONFIG_AVM_PAGE_TRACE) + , _RET_IP_ +#endif/*--- #if defined(CONFIG_AVM_PAGE_TRACE) ---*/ + ); } /*