Commit dc3bf353 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Initialize max_pfn again.

This was dropped by

commit a0d9e2d891e4cf54676c430da63bd4a17d1cdb80 (lmo)
commit b6f1f0de (ko)
Author: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date:   Fri Aug 11 17:51:48 2006 +0200
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f4324f3e
...@@ -331,6 +331,7 @@ static void __init bootmem_init(void) ...@@ -331,6 +331,7 @@ static void __init bootmem_init(void)
/* /*
* Determine low and high memory ranges * Determine low and high memory ranges
*/ */
max_pfn = max_low_pfn;
if (max_low_pfn > PFN_DOWN(HIGHMEM_START)) { if (max_low_pfn > PFN_DOWN(HIGHMEM_START)) {
#ifdef CONFIG_HIGHMEM #ifdef CONFIG_HIGHMEM
highstart_pfn = PFN_DOWN(HIGHMEM_START); highstart_pfn = PFN_DOWN(HIGHMEM_START);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment