--- zzzz-none-000/linux-5.15.111/include/linux/gfp.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/linux/gfp.h 2024-02-07 09:28:07.000000000 +0000 @@ -528,7 +528,11 @@ #endif struct page *__alloc_pages(gfp_t gfp, unsigned int order, int preferred_nid, - nodemask_t *nodemask); + nodemask_t *nodemask +#if defined(CONFIG_AVM_PAGE_TRACE) + , unsigned long pc +#endif /*--- #if defined(CONFIG_AVM_PAGE_TRACE) ---*/ + ); unsigned long __alloc_pages_bulk(gfp_t gfp, int preferred_nid, nodemask_t *nodemask, int nr_pages, @@ -567,7 +571,11 @@ VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES); VM_WARN_ON((gfp_mask & __GFP_THISNODE) && !node_online(nid)); - return __alloc_pages(gfp_mask, order, nid, NULL); + return __alloc_pages(gfp_mask, order, nid, NULL +#if defined(CONFIG_AVM_PAGE_TRACE) + , 0 +#endif /*--- #if defined(CONFIG_AVM_PAGE_TRACE) ---*/ + ); } /*