[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230726165137.49b17052@canb.auug.org.au>
Date: Wed, 26 Jul 2023 16:51:37 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: "Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the mm tree
Hi Aneesh,
On Wed, 26 Jul 2023 10:52:33 +0530 "Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com> wrote:
>
> Thanks for the report. Can you add the below diff. We should look at
> ppc64 not including radix headers if CONFIG_PPC_RADIX_MMU is disabled.
> But for now we can keep the below diff?
>
> diff --git a/arch/powerpc/include/asm/book3s/64/radix.h b/arch/powerpc/include/asm/book3s/64/radix.h
> index 3195f268ed7f..357e23a403d3 100644
> --- a/arch/powerpc/include/asm/book3s/64/radix.h
> +++ b/arch/powerpc/include/asm/book3s/64/radix.h
> @@ -364,8 +364,10 @@ int radix__remove_section_mapping(unsigned long start, unsigned long end);
>
> void radix__kernel_map_pages(struct page *page, int numpages, int enable);
>
> +#ifdef CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP
> #define vmemmap_can_optimize vmemmap_can_optimize
> bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap);
> +#endif
>
> #define vmemmap_populate_compound_pages vmemmap_populate_compound_pages
> int __meminit vmemmap_populate_compound_pages(unsigned long start_pfn,
That fixes the powerpc64 allnoconfig build for me
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists