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

Serge Belyshev belyshev at depni.sinp.msu.ru
Sat Nov 7 20:53:04 AEDT 2020


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>


More information about the Linuxppc-dev mailing list