]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/kexec: Add data section to relocate_kernel
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 8 Nov 2024 05:14:05 +0000 (05:14 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 5 Dec 2024 15:05:07 +0000 (15:05 +0000)
commit92fc7e04a4a177fff4a7a1042581c68f4f47949c
tree88d8fb2a23bc39a69f85c7ebdca9dbdad6d048fc
parentab6b4899e691e078042b5a904343bfdbdfd5fd15
x86/kexec: Add data section to relocate_kernel

Now that the relocate_kernel page is handled sanely by a linker script
we can have actual data, and just use %rip-relative addressing to access
it.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/kernel/machine_kexec_64.c
arch/x86/kernel/relocate_kernel_64.S
arch/x86/kernel/vmlinux.lds.S