linux-next: build failure after merge of the folio tree

From: Stephen Rothwell
Date: Mon Feb 07 2022 - 00:53:36 EST


Hi all,

After merging the folio tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

mm/page_vma_mapped.c: In function 'page_vma_mapped_walk':
mm/page_vma_mapped.c:219:48: error: implicit declaration of function 'pmd_pfn'; did you mean 'pmd_off'? [-Werror=implicit-function-declaration]
219 | if (!check_pmd(pmd_pfn(pmde), pvmw))
| ^~~~~~~
| pmd_off

Caused by commit

02ecfe9b9580 ("mm: Convert page_vma_mapped_walk to work on PFNs")

Presumably you need to explicitly include <linux/pgtable.h>?

I have used the folio tree from next-20220204 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpkLmpbA1Arf.pgp
Description: OpenPGP digital signature