aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorDavid Woodhouse <[email protected]>2025-01-09 14:04:21 +0000
committerBorislav Petkov (AMD) <[email protected]>2025-01-14 12:09:08 +0000
commit7c61a3d8f7a8cf0f0cbdc8459dd86782ba7285f1 (patch)
tree15155629714870fadd0634e11ae78684ce14fc8a /drivers/platform/x86/intel/pmt/class.c
parentx86/kexec: Cope with relocate_kernel() not being at the start of the page (diff)
downloadkernel-7c61a3d8f7a8cf0f0cbdc8459dd86782ba7285f1.tar.gz
kernel-7c61a3d8f7a8cf0f0cbdc8459dd86782ba7285f1.zip
x86/kexec: Use typedef for relocate_kernel_fn function prototype
Both i386 and x86_64 now copy the relocate_kernel() function into the control page and execute it from there, using an open-coded function pointer. Use a typedef for it instead. [ bp: Put relocate_kernel_ptr ptr arithmetic on a single line. ] Signed-off-by: David Woodhouse <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions