diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-04-18 05:56:07 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-05-12 11:46:51 -0400 |
commit | dc3bf3532bf7240cf117b8ecf3d16526810eba6a (patch) | |
tree | 88e8c077495dc2d0ea1209c6da82defcceb0a74a /arch | |
parent | f4324f3eeb311d1889b8c25076f2669012323842 (diff) |
[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')
-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) | |||
331 | /* | 331 | /* |
332 | * Determine low and high memory ranges | 332 | * Determine low and high memory ranges |
333 | */ | 333 | */ |
334 | max_pfn = max_low_pfn; | ||
334 | if (max_low_pfn > PFN_DOWN(HIGHMEM_START)) { | 335 | if (max_low_pfn > PFN_DOWN(HIGHMEM_START)) { |
335 | #ifdef CONFIG_HIGHMEM | 336 | #ifdef CONFIG_HIGHMEM |
336 | highstart_pfn = PFN_DOWN(HIGHMEM_START); | 337 | highstart_pfn = PFN_DOWN(HIGHMEM_START); |