Hi Usama, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on perf-tools-next/perf-tools-next tip/perf/core perf-tools/perf-tools linus/master v6.15-rc6] [cannot apply to acme/perf/core next-20250515] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Usama-Arif/prctl-introduce-PR_THP_POLICY_DEFAULT_HUGE-for-the-process/20250515-213850 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20250515133519.2779639-2-usamaarif642%40gmail.com patch subject: [PATCH 1/6] prctl: introduce PR_THP_POLICY_DEFAULT_HUGE for the process config: sparc-allnoconfig (https://download.01.org/0day-ci/archive/20250516/202505161340.aOL3UHxo-lkp@xxxxxxxxx/config) compiler: sparc-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250516/202505161340.aOL3UHxo-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202505161340.aOL3UHxo-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): mm/vma.c: In function '__mmap_new_vma': >> mm/vma.c:2486:9: error: implicit declaration of function 'vma_set_thp_policy'; did you mean 'vma_dup_policy'? [-Wimplicit-function-declaration] 2486 | vma_set_thp_policy(vma); | ^~~~~~~~~~~~~~~~~~ | vma_dup_policy vim +2486 mm/vma.c 2472 2473 /* Lock the VMA since it is modified after insertion into VMA tree */ 2474 vma_start_write(vma); 2475 vma_iter_store_new(vmi, vma); 2476 map->mm->map_count++; 2477 vma_link_file(vma); 2478 2479 /* 2480 * vma_merge_new_range() calls khugepaged_enter_vma() too, the below 2481 * call covers the non-merge case. 2482 */ 2483 if (!vma_is_anonymous(vma)) 2484 khugepaged_enter_vma(vma, map->flags); 2485 ksm_add_vma(vma); > 2486 vma_set_thp_policy(vma); 2487 *vmap = vma; 2488 return 0; 2489 2490 free_iter_vma: 2491 vma_iter_free(vmi); 2492 free_vma: 2493 vm_area_free(vma); 2494 return error; 2495 } 2496 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki