Messages in this thread | | | From | Stratos Psomadakis <> | Subject | [PATCH 0/2] x86_32 cleanup: KERNEL_IMAGE_SIZE | Date | Sun, 27 Feb 2011 23:21:36 +0200 |
| |
I noticed that KERNEL_IMAGE_SIZE is no longer used by x86_32 code (head_32.S no longer uses it for the initial kernel mapping).
We can thus remove the assert from the vmlinux.lds.S file, and remove it completely for x86_32 code.
Since head_32.S doesn't use it anymore, I can't find a reason why we should impose such a limit on the kernel image size (although a 512+MB kernel image isn't what one would call a realistic scenario :P)
I think that a limit on the size of the image is imposed anyway by decompress_kernel()(if I understood correctly).
I also updated the comments in head_32.S which still had references to KERNEL_IMAGE_SIZE.
| |