[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87sfp7o351.fsf@mpe.ellerman.id.au>
Date: Wed, 18 May 2022 14:50:34 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: YueHaibing <yuehaibing@...wei.com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
"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
YueHaibing <yuehaibing@...wei.com> writes:
> On 2022/5/17 18:45, Christophe Leroy wrote:
>> 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 ?
>
> Indeed, there is no defconfig with CONFIG_RELOCATABLE under arch/powerpc/configs
It's selected by CRASH_DUMP, which is in ppc64_defconfig.
But it's not enabled in corenet32_smp_defconfig which is what I build,
or any of the other 85xx configs.
I guess it should be, I think it's true that RELOCATABLE=y exercises
more interesting code paths?
cheers
Powered by blists - more mailing lists