rk29: mmu.c: set vmalloc_reserve to 256MB for support 1G memory

This commit is contained in:
黄涛
2011-07-02 18:24:45 +08:00
parent 38d52487ad
commit dd0168495e

View File

@@ -665,7 +665,7 @@ void __init iotable_init(struct map_desc *io_desc, int nr)
}
#if defined(CONFIG_RK29_MEM_SIZE_M) && CONFIG_RK29_MEM_SIZE_M >= 1024
static unsigned long __initdata vmalloc_reserve = SZ_128M + (0xFF000000 - VMALLOC_END);
static unsigned long __initdata vmalloc_reserve = SZ_256M;
#else
static unsigned long __initdata vmalloc_reserve = SZ_128M;
#endif