diff options
author | 2020-09-07 15:15:08 +0200 | |
---|---|---|
committer | 2020-09-07 19:45:24 +0200 | |
commit | 05a2ae7c033ee30f25fbed3ceed549a5cac398a9 (patch) | |
tree | 1d38f9698cff4c21fd2f24c91894be94df97b510 /arch/x86/kernel/umip.c | |
parent | x86/traps: Move pf error codes to <asm/trap_pf.h> (diff) | |
download | linux-dev-05a2ae7c033ee30f25fbed3ceed549a5cac398a9.tar.xz linux-dev-05a2ae7c033ee30f25fbed3ceed549a5cac398a9.zip |
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/kernel/umip.c')
0 files changed, 0 insertions, 0 deletions