diff options
| author | Shmulik Ladkani <[email protected]> | 2010-08-31 10:24:19 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2010-10-04 17:34:00 +0000 |
| commit | 2ccc5b150fb771bcbbb27a19a00e176e10b7f11e (patch) | |
| tree | 711d6dceb694b10a827347e4d29e3297887c99ea /lib/dynamic_debug.c | |
| parent | MIPS: Alchemy: Resolve prom section mismatches (diff) | |
| download | kernel-2ccc5b150fb771bcbbb27a19a00e176e10b7f11e.tar.gz kernel-2ccc5b150fb771bcbbb27a19a00e176e10b7f11e.zip | |
MIPS: Calculate VMLINUZ_LOAD_ADDRESS based on the length of vmlinux.bin
Fix VMLINUZ_LOAD_ADDRESS calculation to be based on the length of
vmlinux.bin, the actual uncompressed kernel binary.
Previously it was based on the length of KBUILD_IMAGE (the unstripped ELF
vmlinux), which is bigger than vmlinux.bin. As a result, vmlinuz was
loaded into a memory address higher then actually needed - a problem for
small memory platforms.
Signed-off-by: Shmulik Ladkani <[email protected]>
To: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/1564/
Acked-by: Wu Zhangjin <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
