From: Atsushi Nemoto Date: Tue, 20 Mar 2007 15:56:28 +0000 (+0900) Subject: [MIPS] SPARSEMEM: The first pfn of zone should be min_low_pfn, not 0. X-Git-Tag: v2.6.21-rc5~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80e89593e5a574a572f4e45e157733b5ea5ddfdb;p=linux-2.6 [MIPS] SPARSEMEM: The first pfn of zone should be min_low_pfn, not 0. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index f08ae71c46..25abe91da4 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c @@ -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))