[PATCH] powerpc/32s: Use relocation offset when setting early hash table

Andreas Schwab schwab at linux-m68k.org
Sun Nov 8 00:24:11 AEDT 2020


On Nov 07 2020, Serge Belyshev wrote:

> Christophe Leroy <christophe.leroy at csgroup.eu> writes:
>
>> When calling early_hash_table(), the kernel hasn't been yet
>> relocated to its linking address, so data must be addressed
>> with relocation offset.
>>
>> Add relocation offset to write into Hash in early_hash_table().
>>
>> Reported-by: Erhard Furtner <erhard_f at mailbox.org>
>> Reported-by: Andreas Schwab <schwab at linux-m68k.org>
>> Fixes: 69a1593abdbc ("powerpc/32s: Setup the early hash table at all time.")
>> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>
>
> Tested-by: Serge Belyshev <belyshev at depni.sinp.msu.ru>

Works here as well.

Thanks, Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Linuxppc-dev mailing list