diff options
Diffstat (limited to 'arch/mips/kernel/setup.c')
-rw-r--r-- | arch/mips/kernel/setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 4430a1f8fdf1..2950b97253b7 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c | |||
@@ -277,7 +277,8 @@ static void __init bootmem_init(void) | |||
277 | * not selected. Once that done we can determine the low bound | 277 | * not selected. Once that done we can determine the low bound |
278 | * of usable memory. | 278 | * of usable memory. |
279 | */ | 279 | */ |
280 | reserved_end = max(init_initrd(), PFN_UP(__pa_symbol(&_end))); | 280 | reserved_end = max(init_initrd(), |
281 | (unsigned long) PFN_UP(__pa_symbol(&_end))); | ||
281 | 282 | ||
282 | /* | 283 | /* |
283 | * max_low_pfn is not a number of pages. The number of pages | 284 | * max_low_pfn is not a number of pages. The number of pages |