rk29: mmu.c: enlarge vmalloc_reserve to support 1G memory

This commit is contained in:
黄涛
2011-06-27 13:06:52 +08:00
parent cf1bb28a1f
commit 69b558b528

View File

@@ -664,7 +664,11 @@ void __init iotable_init(struct map_desc *io_desc, int nr)
create_mapping(io_desc + i);
}
#if defined(CONFIG_RK29_MEM_SIZE_M) && CONFIG_RK29_MEM_SIZE_M >= 1024
static unsigned long __initdata vmalloc_reserve = SZ_128M + (0xFF000000 - VMALLOC_END);
#else
static unsigned long __initdata vmalloc_reserve = SZ_128M;
#endif
/*
* vmalloc=size forces the vmalloc area to be exactly 'size'