Fix 64-bit booke kernel builds after the ldscript changes
Commits r326203 and r326978 broke 64-bit booke kernels by introducing a 1MB zero-pad between the ELF header and the start of the kernel. This didn't cause a build failure, but caused kernels to need to be loaded into memory 1MB lower, which could easily break scripts expecting previous behavior. This change matches the similar change made to AIM in r327358.
This commit is contained in:
parent
76f9d2759b
commit
1a55e1d038
@ -134,9 +134,9 @@
|
||||
|
||||
#ifdef __powerpc64__
|
||||
#ifndef LOCORE
|
||||
#define KERNBASE 0xc000000000000000UL /* start of kernel virtual */
|
||||
#define KERNBASE 0xc000000000000100UL /* start of kernel virtual */
|
||||
#else
|
||||
#define KERNBASE 0xc000000000000000 /* start of kernel virtual */
|
||||
#define KERNBASE 0xc000000000000100 /* start of kernel virtual */
|
||||
#endif
|
||||
#else
|
||||
#define KERNBASE 0xc0000000 /* start of kernel virtual */
|
||||
|
Loading…
x
Reference in New Issue
Block a user