| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 07/15] APRP Patch04: Propagate final value of max_low_pfn to max_pfn |
| From: | Raghu Gandham <raghu@mips.com> |
| Date: | Wed, 01 Jul 2009 19:41:27 -0700 |
| Cc: | chris@mips.com |
| In-reply-to: | <20090702023938.23268.65453.stgit@linux-raghu> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20090702023938.23268.65453.stgit@linux-raghu> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | StGIT/0.14.3 |
From: Chris Dearman <chris@mips.com>
Signed-off-by: Chris Dearman <chris@mips.com>
---
arch/mips/kernel/setup.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index 2950b97..1e9862d 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -326,7 +326,6 @@ 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);
@@ -334,6 +333,8 @@ static void __init bootmem_init(void)
#endif
max_low_pfn = PFN_DOWN(HIGHMEM_START);
}
+ /* Propagate final value of max_low_pfn to max_pfn */
+ max_pfn = max_low_pfn;
/*
* Initialize the boot-time allocator with low memory only.
|
| Previous by Date: | [PATCH 06/15] [MTI] Enable PIIX4 PCI2.1 compliancy on Malta, Raghu Gandham |
|---|---|
| Next by Date: | [PATCH 08/15] Fix compiler warning in vpe.c, Raghu Gandham |
| Previous by Thread: | [PATCH 06/15] [MTI] Enable PIIX4 PCI2.1 compliancy on Malta, Raghu Gandham |
| Next by Thread: | [PATCH 08/15] Fix compiler warning in vpe.c, Raghu Gandham |
| Indexes: | [Date] [Thread] [Top] [All Lists] |