Re: linux-next: build failure after merge of the akpm-current tree

From: Dan Williams
Date: Thu Nov 05 2020 - 00:37:27 EST


On Wed, Nov 4, 2020 at 9:05 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the akpm-current tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> In file included from include/linux/numa.h:25,
> from include/linux/nodemask.h:96,
> from include/linux/mount.h:15,
> from fs/pnode.c:9:
> arch/powerpc/include/asm/sparsemem.h:17:16: error: unknown type name 'pgprot_t'
> 17 | int nid, pgprot_t prot);
> | ^~~~~~~~
>
> Caused by commit
>
> 45339c019cbc ("mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports")
>
> I have reverted that commit for today (maybe I should not have added
> it :-().

Ugh, I'll check my cross-compile coverage.