debug_vm_pgtable.c:undefined reference to `pmd_set_huge'

From: kernel test robot
Date: Mon Jul 24 2023 - 15:39:09 EST


Hi Jonathan,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 20ea1e7d13c1b544fe67c4a8dc3943bb1ab33e6f
commit: d8a719059b9dc963aa190598778ac804ff3e6a87 Revert "mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge"
date: 2 years ago
config: powerpc-randconfig-r033-20230724 (https://download.01.org/0day-ci/archive/20230725/202307250345.iCCBHW1l-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230725/202307250345.iCCBHW1l-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/202307250345.iCCBHW1l-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

powerpc-linux-ld: warning: certs/system_certificates.o: missing .note.GNU-stack section implies executable stack
powerpc-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
powerpc-linux-ld: warning: certs/system_certificates.o: missing .note.GNU-stack section implies executable stack
powerpc-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
powerpc-linux-ld: warning: .tmp_vmlinux.kallsyms1 has a LOAD segment with RWX permissions
powerpc-linux-ld: mm/debug_vm_pgtable.o: in function `pmd_huge_tests':
>> debug_vm_pgtable.c:(.init.text+0x194): undefined reference to `pmd_set_huge'
powerpc-linux-ld: mm/debug_vm_pgtable.o: in function `pud_huge_tests':
>> debug_vm_pgtable.c:(.init.text+0x29c): undefined reference to `pud_set_huge'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki