projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b8c4e3
)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mm/mmu.c
b/arch/arm/mm/mmu.c
index cbed074b5fda59a3a788710cf3c5ccf173347e54..fa89cdc64ae2bdb4afa191662be30b98cefa39be 100644
(file)
--- a/
arch/arm/mm/mmu.c
+++ b/
arch/arm/mm/mmu.c
@@
-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);