diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-09-07 16:15:08 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-09-07 20:45:24 +0300 |
commit | 05a2ae7c033ee30f25fbed3ceed549a5cac398a9 (patch) | |
tree | 1d38f9698cff4c21fd2f24c91894be94df97b510 /arch/x86/mm/numa_64.c | |
parent | 05a2fdf3230306daee1def019b8f52cd06bd2e48 (diff) | |
download | linux-05a2ae7c033ee30f25fbed3ceed549a5cac398a9.tar.xz |
x86/insn: Make inat-tables.c suitable for pre-decompression code
The inat-tables.c file has some arrays in it that contain pointers to
other arrays. These pointers need to be relocated when the kernel
image is moved to a different location.
The pre-decompression boot-code has no support for applying ELF
relocations, so initialize these arrays at runtime in the
pre-decompression code to make sure all pointers are correctly
initialized.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lkml.kernel.org/r/20200907131613.12703-8-joro@8bytes.org
Diffstat (limited to 'arch/x86/mm/numa_64.c')
0 files changed, 0 insertions, 0 deletions