diff options
| author | David Woodhouse <[email protected]> | 2025-01-09 14:04:21 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-01-14 12:09:08 +0000 |
| commit | 7c61a3d8f7a8cf0f0cbdc8459dd86782ba7285f1 (patch) | |
| tree | 15155629714870fadd0634e11ae78684ce14fc8a /drivers/platform/x86/intel/pmt/class.c | |
| parent | x86/kexec: Cope with relocate_kernel() not being at the start of the page (diff) | |
| download | kernel-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
