Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80e89593 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle
Browse files

[MIPS] SPARSEMEM: The first pfn of zone should be min_low_pfn, not 0.

parent 7605b390
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))