rk: mmu.c: vmalloc reserve 512MB
author黄涛 <huangtao@rock-chips.com>
Mon, 29 Jul 2013 07:30:17 +0000 (15:30 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 29 Jul 2013 07:30:45 +0000 (15:30 +0800)
arch/arm/mm/mmu.c

index cbed074b5fda59a3a788710cf3c5ccf173347e54..fa89cdc64ae2bdb4afa191662be30b98cefa39be 100644 (file)
@@ -736,7 +736,7 @@ 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
+#if defined(CONFIG_PLAT_RK)
 static void * __initdata vmalloc_min = (void *)(VMALLOC_END - SZ_512M);
 #else
 static void * __initdata vmalloc_min = (void *)(VMALLOC_END - SZ_128M);