mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
[MIPS] SPARSEMEM: The first pfn of zone should be min_low_pfn, not 0.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
7605b39061
commit
80e89593e5
@ -377,7 +377,7 @@ void __init paging_init(void)
|
||||
#ifdef CONFIG_FLATMEM
|
||||
free_area_init(zones_size);
|
||||
#else
|
||||
pfn = 0;
|
||||
pfn = min_low_pfn;
|
||||
for (i = 0; i < MAX_NR_ZONES; i++)
|
||||
for (j = 0; j < zones_size[i]; j++, pfn++)
|
||||
if (!page_is_ram(pfn))
|
||||
|
Loading…
Reference in New Issue
Block a user