diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2025-04-10 16:41:22 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-12 12:13:05 +0300 |
commit | dafb26f4271b9cc9cad07d9abf3c71c492e14f4c (patch) | |
tree | 9949376e5841e07e9b1596d36d5a88364101b665 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dbe0ad775cbbd614583409d96abbc8ea7edb5eb4 (diff) | |
download | linux-dafb26f4271b9cc9cad07d9abf3c71c492e14f4c.tar.xz |
x86/boot: Drop RIP_REL_REF() uses from early mapping code
Now that __startup_64() is built using -fPIC, RIP_REL_REF() has become a
NOP and can be removed. Only some occurrences of rip_rel_ptr() will
remain, to explicitly take the address of certain global structures in
the 1:1 mapping of memory.
While at it, update the code comment to describe why this is needed.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Dionna Amalie Glaze <dionnaglaze@google.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Kevin Loughlin <kevinloughlin@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: linux-efi@vger.kernel.org
Link: https://lore.kernel.org/r/20250410134117.3713574-17-ardb+git@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions