diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2025-01-09 14:04:21 +0000 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-01-14 13:09:08 +0100 |
commit | 7c61a3d8f7a8cf0f0cbdc8459dd86782ba7285f1 (patch) | |
tree | 15155629714870fadd0634e11ae78684ce14fc8a /tools/perf/scripts/python/syscall-counts.py | |
parent | e536057543791fbfa0d979f4e782933ea312c38c (diff) |
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 <dwmw@amazon.co.uk>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20250109140757.2841269-10-dwmw2@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions