diff options
65 files changed, 530 insertions, 529 deletions
diff --git a/arch/ppc/kernel/syscalls.c b/arch/ppc/kernel/syscalls.c index 124313ce3c09..127f040de9de 100644 --- a/arch/ppc/kernel/syscalls.c +++ b/arch/ppc/kernel/syscalls.c | |||
| @@ -41,10 +41,6 @@ | |||
| 41 | #include <asm/ipc.h> | 41 | #include <asm/ipc.h> |
| 42 | #include <asm/semaphore.h> | 42 | #include <asm/semaphore.h> |
| 43 | 43 | ||
| 44 | void | ||
| 45 | check_bugs(void) | ||
| 46 | { | ||
| 47 | } | ||
| 48 | 44 | ||
| 49 | /* | 45 | /* |
| 50 | * sys_ipc() is the de-multiplexer for the SysV IPC calls.. | 46 | * sys_ipc() is the de-multiplexer for the SysV IPC calls.. |
diff --git a/arch/ppc64/Makefile b/arch/ppc64/Makefile index 8189953a372c..a91daa324e88 100644 --- a/arch/ppc64/Makefile +++ b/arch/ppc64/Makefile | |||
| @@ -89,11 +89,12 @@ drivers-$(CONFIG_OPROFILE) += arch/ppc64/oprofile/ | |||
| 89 | 89 | ||
| 90 | boot := arch/ppc64/boot | 90 | boot := arch/ppc64/boot |
| 91 | 91 | ||
| 92 | boottarget-$(CONFIG_PPC_PSERIES) := zImage zImage.initrd | 92 | boottargets-$(CONFIG_PPC_PSERIES) += zImage zImage.initrd |
| 93 | boottarget-$(CONFIG_PPC_MAPLE) := zImage zImage.initrd | 93 | boottargets-$(CONFIG_PPC_PMAC) += zImage.vmode zImage.initrd.vmode |
| 94 | boottarget-$(CONFIG_PPC_ISERIES) := vmlinux.sminitrd vmlinux.initrd vmlinux.sm | 94 | boottargets-$(CONFIG_PPC_MAPLE) += zImage zImage.initrd |
| 95 | boottarget-$(CONFIG_PPC_BPA) := zImage zImage.initrd | 95 | boottargets-$(CONFIG_PPC_ISERIES) += vmlinux.sminitrd vmlinux.initrd vmlinux.sm |
| 96 | $(boottarget-y): vmlinux | 96 | boottargets-$(CONFIG_PPC_BPA) += zImage zImage.initrd |
| 97 | $(boottargets-y): vmlinux | ||
| 97 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 98 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
| 98 | 99 | ||
| 99 | bootimage-$(CONFIG_PPC_PSERIES) := $(boot)/zImage | 100 | bootimage-$(CONFIG_PPC_PSERIES) := $(boot)/zImage |
| @@ -131,10 +132,12 @@ include3/asm: | |||
| 131 | $(Q)ln -fsn $(srctree)/include/asm-powerpc include3/asm | 132 | $(Q)ln -fsn $(srctree)/include/asm-powerpc include3/asm |
| 132 | 133 | ||
| 133 | define archhelp | 134 | define archhelp |
| 134 | echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' | 135 | echo ' zImage.vmode - Compressed kernel image (arch/$(ARCH)/boot/zImage.vmode)' |
| 135 | echo ' zImage.initrd- Compressed kernel image with initrd attached,' | 136 | echo ' zImage.initrd.vmode - Compressed kernel image with initrd attached,' |
| 136 | echo ' sourced from arch/$(ARCH)/boot/ramdisk.image.gz' | 137 | echo ' sourced from arch/$(ARCH)/boot/ramdisk.image.gz' |
| 137 | echo ' (arch/$(ARCH)/boot/zImage.initrd)' | 138 | echo ' (arch/$(ARCH)/boot/zImage.initrd.vmode)' |
| 139 | echo ' zImage - zImage for pSeries machines' | ||
| 140 | echo ' zImage.initrd - zImage with initrd for pSeries machines' | ||
| 138 | endef | 141 | endef |
| 139 | 142 | ||
| 140 | CLEAN_FILES += include/asm-ppc64/offsets.h | 143 | CLEAN_FILES += include/asm-ppc64/offsets.h |
diff --git a/arch/ppc64/boot/Makefile b/arch/ppc64/boot/Makefile index 2c5f5e73d00c..33fdc8710891 100644 --- a/arch/ppc64/boot/Makefile +++ b/arch/ppc64/boot/Makefile | |||
| @@ -37,6 +37,9 @@ quiet_cmd_bootcc = BOOTCC $@ | |||
| 37 | quiet_cmd_bootas = BOOTAS $@ | 37 | quiet_cmd_bootas = BOOTAS $@ |
| 38 | cmd_bootas = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTAFLAGS) -c -o $@ $< | 38 | cmd_bootas = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTAFLAGS) -c -o $@ $< |
| 39 | 39 | ||
| 40 | quiet_cmd_bootld = BOOTLD $@ | ||
| 41 | cmd_bootld = $(CROSS32LD) $(BOOTLFLAGS) -o $@ $(2) | ||
| 42 | |||
| 40 | $(patsubst %.c,%.o, $(filter %.c, $(src-boot))): %.o: %.c | 43 | $(patsubst %.c,%.o, $(filter %.c, $(src-boot))): %.o: %.c |
| 41 | $(call if_changed_dep,bootcc) | 44 | $(call if_changed_dep,bootcc) |
| 42 | $(patsubst %.S,%.o, $(filter %.S, $(src-boot))): %.o: %.S | 45 | $(patsubst %.S,%.o, $(filter %.S, $(src-boot))): %.o: %.S |
| @@ -53,7 +56,7 @@ src-sec = $(foreach section, $(1), $(patsubst %,$(obj)/kernel-%.c, $(section))) | |||
| 53 | gz-sec = $(foreach section, $(1), $(patsubst %,$(obj)/kernel-%.gz, $(section))) | 56 | gz-sec = $(foreach section, $(1), $(patsubst %,$(obj)/kernel-%.gz, $(section))) |
| 54 | 57 | ||
| 55 | hostprogs-y := addnote addRamDisk | 58 | hostprogs-y := addnote addRamDisk |
| 56 | targets += zImage zImage.initrd imagesize.c \ | 59 | targets += zImage.vmode zImage.initrd.vmode zImage zImage.initrd imagesize.c \ |
| 57 | $(patsubst $(obj)/%,%, $(call obj-sec, $(required) $(initrd))) \ | 60 | $(patsubst $(obj)/%,%, $(call obj-sec, $(required) $(initrd))) \ |
| 58 | $(patsubst $(obj)/%,%, $(call src-sec, $(required) $(initrd))) \ | 61 | $(patsubst $(obj)/%,%, $(call src-sec, $(required) $(initrd))) \ |
| 59 | $(patsubst $(obj)/%,%, $(call gz-sec, $(required) $(initrd))) \ | 62 | $(patsubst $(obj)/%,%, $(call gz-sec, $(required) $(initrd))) \ |
| @@ -63,7 +66,7 @@ extra-y := initrd.o | |||
| 63 | quiet_cmd_ramdisk = RAMDISK $@ | 66 | quiet_cmd_ramdisk = RAMDISK $@ |
| 64 | cmd_ramdisk = $(obj)/addRamDisk $(obj)/ramdisk.image.gz $< $@ | 67 | cmd_ramdisk = $(obj)/addRamDisk $(obj)/ramdisk.image.gz $< $@ |
| 65 | 68 | ||
| 66 | quiet_cmd_stripvm = STRIP $@ | 69 | quiet_cmd_stripvm = STRIP $@ |
| 67 | cmd_stripvm = $(STRIP) -s $< -o $@ | 70 | cmd_stripvm = $(STRIP) -s $< -o $@ |
| 68 | 71 | ||
| 69 | vmlinux.strip: vmlinux FORCE | 72 | vmlinux.strip: vmlinux FORCE |
| @@ -71,12 +74,20 @@ vmlinux.strip: vmlinux FORCE | |||
| 71 | $(obj)/vmlinux.initrd: vmlinux.strip $(obj)/addRamDisk $(obj)/ramdisk.image.gz FORCE | 74 | $(obj)/vmlinux.initrd: vmlinux.strip $(obj)/addRamDisk $(obj)/ramdisk.image.gz FORCE |
| 72 | $(call if_changed,ramdisk) | 75 | $(call if_changed,ramdisk) |
| 73 | 76 | ||
| 74 | addsection = $(CROSS32OBJCOPY) $(1) \ | ||
