mirror of
https://github.com/torvalds/linux
synced 2024-07-22 11:10:46 +00:00
![Hari Bathini](/assets/img/avatar_default.png)
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
23 lines
470 B
Makefile
23 lines
470 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
obj-y += core.o crash.o core_$(BITS).o
|
|
|
|
obj-$(CONFIG_PPC32) += relocate_32.o
|
|
|
|
obj-$(CONFIG_KEXEC_FILE) += file_load.o file_load_$(BITS).o elf_$(BITS).o
|
|
|
|
ifdef CONFIG_HAVE_IMA_KEXEC
|
|
ifdef CONFIG_IMA
|
|
obj-y += ima.o
|
|
endif
|
|
endif
|
|
|
|
|
|
# Disable GCOV, KCOV & sanitizers in odd or sensitive code
|
|
GCOV_PROFILE_core_$(BITS).o := n
|
|
KCOV_INSTRUMENT_core_$(BITS).o := n
|
|
UBSAN_SANITIZE_core_$(BITS).o := n
|