--- zzzz-none-000/linux-4.4.60/include/linux/gfp.h 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-1750e-727/linux-4.4.60/include/linux/gfp.h 2021-02-04 17:41:59.000000000 +0000 @@ -406,13 +406,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) ---*/ + ); } /*