summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2011-03-29 07:35:38 +0900
committerSimon Horman <horms@verge.net.au>2011-03-29 07:35:38 +0900
commit5c459b6c7e3589bf6af4d5e0ee8c8e3172adc397 (patch)
treefd3d88fd838d701aa19324926be4fb38bcba5d9a
parent42409b35bef90eed023f783ecffb9004f78b69fa (diff)
build: Don't set KEXEC_SRCS += kexec/virt_to_phys.c
kexec/virt_to_phys.c is handled by $(ARCH)_PHYS_TO_VIRT in order to allow it to be overridden by architectures that provide their own implementation - currently SH and MIPS. This resolves a build failure caused by duplicate implementations of virt_to_phys() on those architectures. Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/kexec/Makefile b/kexec/Makefile
index 7b8e909..2137cab 100644
--- a/kexec/Makefile
+++ b/kexec/Makefile
@@ -24,7 +24,6 @@ KEXEC_SRCS += kexec/crashdump-xen.c
KEXEC_SRCS += kexec/phys_arch.c
KEXEC_SRCS += kexec/kernel_version.c
KEXEC_SRCS += kexec/lzma.c
-KEXEC_SRCS += kexec/virt_to_phys.c
KEXEC_SRCS += kexec/zlib.c
KEXEC_GENERATED_SRCS += $(PURGATORY_HEX_C)