diff options
-rw-r--r-- | arch/mips/cavium-octeon/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index 1bcc144da287..2a75ff249e71 100644 --- a/arch/mips/cavium-octeon/setup.c +++ b/arch/mips/cavium-octeon/setup.c | |||
@@ -997,7 +997,7 @@ void __init plat_mem_setup(void) | |||
997 | cvmx_bootmem_unlock(); | 997 | cvmx_bootmem_unlock(); |
998 | /* Add the memory region for the kernel. */ | 998 | /* Add the memory region for the kernel. */ |
999 | kernel_start = (unsigned long) _text; | 999 | kernel_start = (unsigned long) _text; |
1000 | kernel_size = ALIGN(_end - _text, 0x100000); | 1000 | kernel_size = _end - _text; |
1001 | 1001 | ||
1002 | /* Adjust for physical offset. */ | 1002 | /* Adjust for physical offset. */ |
1003 | kernel_start &= ~0xffffffff80000000ULL; | 1003 | kernel_start &= ~0xffffffff80000000ULL; |