From: Thomas Gleixner Date: Thu, 11 Oct 2007 09:13:38 +0000 (+0200) Subject: i386: prepare shared boot/compressed/misc.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c1c85a52c755c86840f83669bbab63962ab231ff;p=mv-sheeva.git i386: prepare shared boot/compressed/misc.c Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/i386/boot/compressed/Makefile b/arch/i386/boot/compressed/Makefile index 189fa1dbefc..c4533eadc7a 100644 --- a/arch/i386/boot/compressed/Makefile +++ b/arch/i386/boot/compressed/Makefile @@ -4,7 +4,7 @@ # create a compressed vmlinux image from the original vmlinux # -targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o piggy.o \ +targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc_32.o piggy.o \ vmlinux.bin.all vmlinux.relocs EXTRA_AFLAGS := -traditional @@ -17,7 +17,7 @@ CFLAGS := -m32 -D__KERNEL__ $(LINUX_INCLUDE) -O2 \ $(call cc-option,-fno-stack-protector) LDFLAGS := -m elf_i386 -$(obj)/vmlinux: $(src)/vmlinux.lds $(obj)/head.o $(obj)/misc.o $(obj)/piggy.o FORCE +$(obj)/vmlinux: $(src)/vmlinux.lds $(obj)/head.o $(obj)/misc_32.o $(obj)/piggy.o FORCE $(call if_changed,ld) @: diff --git a/arch/i386/boot/compressed/misc.c b/arch/i386/boot/compressed/misc_32.c similarity index 100% rename from arch/i386/boot/compressed/misc.c rename to arch/i386/boot/compressed/misc_32.c