|
@@ -997,7 +997,7 @@ void __init plat_mem_setup(void)
|
|
cvmx_bootmem_unlock();
|
|
cvmx_bootmem_unlock();
|
|
/* Add the memory region for the kernel. */
|
|
/* Add the memory region for the kernel. */
|
|
kernel_start = (unsigned long) _text;
|
|
kernel_start = (unsigned long) _text;
|
|
- kernel_size = ALIGN(_end - _text, 0x100000);
|
|
|
|
|
|
+ kernel_size = _end - _text;
|
|
|
|
|
|
/* Adjust for physical offset. */
|
|
/* Adjust for physical offset. */
|
|
kernel_start &= ~0xffffffff80000000ULL;
|
|
kernel_start &= ~0xffffffff80000000ULL;
|