diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-11-07 12:07:40 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-11-08 12:38:05 +0300 |
commit | 01776f070ffcbf336be3bf1672bd3c589548d6c4 (patch) | |
tree | 709121f9639ad368eb4976e9afa2473ff38e81b6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3fb4a8fa28b740709bdd3229b80279957f4d37ed (diff) | |
download | linux-01776f070ffcbf336be3bf1672bd3c589548d6c4.tar.xz |
powerpc/32s: Use relocation offset when setting early hash table
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().
Fixes: 69a1593abdbc ("powerpc/32s: Setup the early hash table at all time.")
Reported-by: Erhard Furtner <erhard_f@mailbox.org>
Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Serge Belyshev <belyshev@depni.sinp.msu.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9e225a856a8b22e0e77587ee22ab7a2f5bca8753.1604740029.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions