| To: | "linux-mips@linux-mips.org" <linux-mips@linux-mips.org> |
|---|---|
| Subject: | [PATCH 12/16] cheat for support of more than 256MB memory |
| From: | "zhangfx@lemote.com" <zhangfx@lemote.com> |
| Date: | Wed, 4 Apr 2007 14:38:19 +0000 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
---
arch/mips/kernel/setup.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index 4975da0..92a27bb 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -509,6 +509,14 @@ static void __init resource_init(void)
res->end = end;
res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
+#if defined(CONFIG_LEMOTE_FULONG) && defined(CONFIG_64BIT)
+ /* to keep memory continous, we tell system 0x10000000 -
0x20000000 is reserved
+ * for memory, in fact it is io region, don't occupy it
+ *
+ * SPARSEMEM?
+ */
+ if (boot_mem_map.map[i].type != BOOT_MEM_RESERVED)
+#endif
request_resource(&iomem_resource, res);
/*
--
1.4.4.4
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Back ground user process display issue on linux-2.6.18 kernel, sathesh babu |
|---|---|
| Next by Date: | [PATCH 8/16] define MODULE_PROC_FAMILY for Loongson2, zhangfx@lemote.com |
| Previous by Thread: | Back ground user process display issue on linux-2.6.18 kernel, sathesh babu |
| Next by Thread: | [PATCH 8/16] define MODULE_PROC_FAMILY for Loongson2, zhangfx@lemote.com |
| Indexes: | [Date] [Thread] [Top] [All Lists] |