powerpc/kexec_file: Mark PPC64 specific code
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 29 Jul 2020 11:39:41 +0000 (17:09 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jul 2020 13:47:53 +0000 (23:47 +1000)
commit19031275a5881233b4fc31b7dee68bf0b0758bbc
tree697a90ee5fb0a8e84ef613d0f58f3a4bcd20e250
parentf891f19736bdf404845f97d8038054be37160ea8
powerpc/kexec_file: Mark PPC64 specific code

Some of the kexec_file_load code isn't PPC64 specific. Move PPC64
specific code from kexec/file_load.c to kexec/file_load_64.c. Also,
rename purgatory/trampoline.S to purgatory/trampoline_64.S in the same
spirit. No functional changes.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Tested-by: Pingfan Liu <piliu@redhat.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/159602276920.575379.10390965946438306388.stgit@hbathini
arch/powerpc/include/asm/kexec.h
arch/powerpc/kexec/Makefile
arch/powerpc/kexec/elf_64.c
arch/powerpc/kexec/file_load.c
arch/powerpc/kexec/file_load_64.c [new file with mode: 0644]
arch/powerpc/purgatory/Makefile
arch/powerpc/purgatory/trampoline_64.S [moved from arch/powerpc/purgatory/trampoline.S with 100% similarity]