]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/kexec: Merge x86_32 and x86_64 code using macros from <asm/asm.h>
authorUros Bizjak <ubizjak@gmail.com>
Thu, 6 Mar 2025 14:52:11 +0000 (15:52 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:26:24 +0000 (11:26 +0100)
commita9deda695972cb53fe815e175b7d66757964764e
tree9f93a7abd0bf3de0f41bfe36859993e66f3137a4
parentbd72baff229920da1d57c14364c11ecdbaf5b458
x86/kexec: Merge x86_32 and x86_64 code using macros from <asm/asm.h>

Merge common x86_32 and x86_64 code in crash_setup_regs()
using macros from <asm/asm.h>.

The compiled object files before and after the patch are unchanged.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: Baoquan He <bhe@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lore.kernel.org/r/20250306145227.55819-1-ubizjak@gmail.com
arch/x86/include/asm/kexec.h