cheat for support of more than 256MB memory
PATCH 12/16 cheat for support of more than 256MB memory
Signed-off-by Fuxin Zhang <[email protected]>
--- arch/mips/kernel/setup.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
arch/mips/kernel/setup.c +8 -0
@@ -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);/*
Signature · 1 line
1.4.4.4