rk29: mmu.c: set vmalloc_reserve to 256MB for support 1G memory
author黄涛 <huangtao@rock-chips.com>
Sat, 2 Jul 2011 10:24:45 +0000 (18:24 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sat, 2 Jul 2011 10:25:09 +0000 (18:25 +0800)
arch/arm/mm/mmu.c

index 0a24e5e04cb3d7a661a37a25108df49d087a8518..36f521e710c0bfcabffc8b4e10f67ef706e0aa65 100644 (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