diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-03-20 15:56:28 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-24 17:01:49 (GMT) |
commit | 80e89593e5a574a572f4e45e157733b5ea5ddfdb (patch) | |
tree | a2de8ebec736ae7e7a9dd997fd2b0ce38c23f9d0 /arch/mips/mm | |
parent | 7605b3906192a171e651076325b1ed1d5ea57ec9 (diff) | |
download | linux-fsl-qoriq-80e89593e5a574a572f4e45e157733b5ea5ddfdb.tar.xz |
[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>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index f08ae71c..25abe91 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)) |