Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

Atsushi Nemoto and committed by
Ralf Baechle
80e89593 7605b390

+1 -1
+1 -1
arch/mips/mm/init.c
··· 377 377 #ifdef CONFIG_FLATMEM 378 378 free_area_init(zones_size); 379 379 #else 380 - pfn = 0; 380 + pfn = min_low_pfn; 381 381 for (i = 0; i < MAX_NR_ZONES; i++) 382 382 for (j = 0; j < zones_size[i]; j++, pfn++) 383 383 if (!page_is_ram(pfn))