[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0e8b7931-9bfb-1948-c141-c4e612ba0fe6@csgroup.eu>
Date: Tue, 17 May 2022 10:45:01 +0000
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: YueHaibing <yuehaibing@...wei.com>,
"mpe@...erman.id.au" <mpe@...erman.id.au>,
"benh@...nel.crashing.org" <benh@...nel.crashing.org>,
"paulus@...ba.org" <paulus@...ba.org>
CC: "linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] powerpc/book3e: Fix build error
Le 17/05/2022 à 11:48, YueHaibing a écrit :
> arch/powerpc/mm/nohash/fsl_book3e.c: In function ‘relocate_init’:
> arch/powerpc/mm/nohash/fsl_book3e.c:348:2: error: implicit declaration of function ‘early_get_first_memblock_info’ [-Werror=implicit-function-declaration]
> early_get_first_memblock_info(__va(dt_ptr), &size);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Add missing include file linux/of_fdt.h to fix this.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Thats for fixing that.
Reviewed-by: Christophe Leroy <christophe.leroy@...roup.eu>
It means we don't have any defconfig for 32 bits booke with
CONFIG_RELOCATABLE ?
> ---
> arch/powerpc/mm/nohash/fsl_book3e.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/powerpc/mm/nohash/fsl_book3e.c b/arch/powerpc/mm/nohash/fsl_book3e.c
> index 08a984e29433..093da4dbdee1 100644
> --- a/arch/powerpc/mm/nohash/fsl_book3e.c
> +++ b/arch/powerpc/mm/nohash/fsl_book3e.c
> @@ -36,6 +36,7 @@
> #include <linux/delay.h>
> #include <linux/highmem.h>
> #include <linux/memblock.h>
> +#include <linux/of_fdt.h>
>
> #include <asm/io.h>
> #include <asm/mmu_context.h>
Powered by blists - more mailing lists