]> err.no Git - linux-2.6/commitdiff
[MIPS] SPARSEMEM: The first pfn of zone should be min_low_pfn, not 0.
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 20 Mar 2007 15:56:28 +0000 (00:56 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 24 Mar 2007 17:01:49 +0000 (17:01 +0000)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/init.c

index f08ae71c46ffddad7a509b4daff7b2e578a1a86c..25abe91da4ac820d26207bee1537c5431efaeab5 100644 (file)
@@ -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))