Re: [External] linux-next: build failure after merge of the akpm-current tree
From: Muchun Song
Date: Fri May 21 2021 - 02:10:41 EST
On Fri, May 21, 2021 at 1:54 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the akpm-current tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> mm/migrate.c: In function 'unmap_and_move_huge_page':
> mm/migrate.c:1295:6: error: implicit declaration of function 'hugetlb_page_subpool' [-Werror=implicit-function-declaration]
> 1295 | if (hugetlb_page_subpool(hpage) && !page_mapping(hpage)) {
> | ^~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> b63794a67ae2 ("mm: migrate: fix missing update page_private to hugetlb_page_subpool")
>
> CONFIG_HUGETLB_PAGE is not defined for this build.
>
> I have reverted that commit for today.
Thanks for your test. It has been fixed by the following patch.
https://lore.kernel.org/linux-mm/20210521022747.35736-1-songmuchun@xxxxxxxxxxxxx/
>
> --
> Cheers,
> Stephen Rothwell