diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-03-20 16:56:28 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-24 18:01:49 +0100 |
commit | 80e89593e5a574a572f4e45e157733b5ea5ddfdb (patch) | |
tree | a2de8ebec736ae7e7a9dd997fd2b0ce38c23f9d0 /arch/mips | |
parent | [MIPS] Fix pipeline hazard. (diff) | |
download | linux-80e89593e5a574a572f4e45e157733b5ea5ddfdb.tar.xz linux-80e89593e5a574a572f4e45e157733b5ea5ddfdb.zip |
[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')
-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 f08ae71c46ff..25abe91da4ac 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)) |