aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/defconfig
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-10-28 17:46:40 -0700
committerPaul Mackerras <paulus@samba.org>2005-10-29 15:05:10 +1000
commit8a76baf02006c945fa4a2a01a58848cb38777697 (patch)
tree774795179b55f94823e71f48f79cc7975d74a6fd /arch/ppc64/defconfig
parent7054036fc526b741ba90ff1d077ac900362f30ed (diff)
[PATCH] ppc64 boot: remove need for imagesize.c
Compute the vmlinux size at runtime. Use Z_FULL_FLUSH instead of Z_FINISH, to extract only the ELF header and ELF program header. ->p_memsz is the required memory range for the executable, including bss ->p_filesz is the size of .text, .data and other runtime sections These values must be used for the claim call. All additional memory needed by the kernel is claimed in prom_init, remove the extra Mb. Pass the full memsize as target area to gunzip, otherwise not everything will be uncompressed. flush_cache has to flush all runtime sections, do not reduce the memrange by the ->p_offset value because its just that: an offset. Remove the Makefile code to produce an imagesize.c, its not needed anymore. Remove all FORCE flags, to not rebuild the zImage if vmlinux was not changed. Signed-off-by: Olaf Hering <olh@suse.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/defconfig')
0 files changed, 0 insertions, 0 deletions