]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/boot/64: Remove inverse relocations
authorBrian Gerst <brgerst@gmail.com>
Thu, 23 Jan 2025 19:07:42 +0000 (14:07 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 18 Feb 2025 09:15:47 +0000 (10:15 +0100)
commita8327be7b2aa067ff2b11551732d5bd8b49ef7d1
treeb0b367d2fdfceece0fbea1c564004ac9a0256612
parentb5c4f95351a097a635c1a7fc8d9efa18308491b5
x86/boot/64: Remove inverse relocations

Inverse relocations were needed to offset the effects of relocation for
RIP-relative accesses to zero-based percpu data.  Now that the percpu
section is linked normally as part of the kernel image, they are no
longer needed.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250123190747.745588-11-brgerst@gmail.com
arch/x86/boot/compressed/misc.c
arch/x86/tools/relocs.c