Re: [davidhildenbrand:get_dummy 14/21] include/linux/pgtable.h:2351:13: error: implicit declaration of function 'mm_pmd_folded'

Yeoreum Yun <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
Hi,

> Hi Yeoreum,
> 
> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
> 
> tree:   https://github.com/davidhildenbrand/linux get_dummy
> head:   112a153a97494becabd764fe6257578ba908801f
> commit: db92928e80f5332bbfca9a70beaef62d46a0c9de [14/21] x86: mm: carve out the generic compile-time folded pgtable case in effective_prot()
> config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20260827/[email protected]/config)
> compiler: m68k-linux-gcc (GCC) 16.1.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260827/[email protected]/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 <[email protected]>
> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from include/linux/mm.h:31,
>                     from include/linux/cpuset.h:17,
>                     from kernel/sched/sched.h:33,
>                     from kernel/sched/rq-offsets.c:5:
>    include/linux/pgtable.h: In function 'mm_first_pgtable_level':
> >> include/linux/pgtable.h:2351:13: error: implicit declaration of function 'mm_pmd_folded' [-Wimplicit-function-declaration]
>     2351 |         if (mm_pmd_folded(mm))
>          |             ^~~~~~~~~~~~~
> >> include/linux/pgtable.h:2353:13: error: implicit declaration of function 'mm_pud_folded' [-Wimplicit-function-declaration]
>     2353 |         if (mm_pud_folded(mm))
>          |             ^~~~~~~~~~~~~
> >> include/linux/pgtable.h:2355:13: error: implicit declaration of function 'mm_p4d_folded' [-Wimplicit-function-declaration]
>     2355 |         if (mm_p4d_folded(mm))
>          |             ^~~~~~~~~~~~~
>    make[3]: *** [scripts/Makefile.build:184: kernel/sched/rq-offsets.s] Error 1
>    make[3]: Target 'prepare' not remade because of errors.
>    make[2]: *** [Makefile:1410: prepare0] Error 2
>    make[2]: Target 'prepare' not remade because of errors.
>    make[1]: *** [Makefile:248: __sub-make] Error 2
>    make[1]: Target 'prepare' not remade because of errors.
>    make: *** [Makefile:248: __sub-make] Error 2
>    make: Target 'prepare' not remade because of errors.

This is known issue and fixed at internal review version 6.

Thanks!

[..snipped..]

-- 
Sincerely,
Yeoreum Yun
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.