diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-04-18 11:56:07 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-05-12 17:46:51 +0200 |
commit | dc3bf3532bf7240cf117b8ecf3d16526810eba6a (patch) | |
tree | 88e8c077495dc2d0ea1209c6da82defcceb0a74a /arch/mips/kernel/setup.c | |
parent | [MIPS] IRIX: Handle do_brk() error return correctly. (diff) | |
download | linux-dc3bf3532bf7240cf117b8ecf3d16526810eba6a.tar.xz linux-dc3bf3532bf7240cf117b8ecf3d16526810eba6a.zip |
[MIPS] Initialize max_pfn again.
This was dropped by
commit a0d9e2d891e4cf54676c430da63bd4a17d1cdb80 (lmo)
commit b6f1f0dea1469e0c956eb89399916d60dd2a3808 (ko)
Author: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: Fri Aug 11 17:51:48 2006 +0200
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/setup.c')
-rw-r--r-- | arch/mips/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 39f3dfe134fb..c6a063b2a0d9 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -331,6 +331,7 @@ static void __init bootmem_init(void) /* * Determine low and high memory ranges */ + max_pfn = max_low_pfn; if (max_low_pfn > PFN_DOWN(HIGHMEM_START)) { #ifdef CONFIG_HIGHMEM highstart_pfn = PFN_DOWN(HIGHMEM_START); |