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:
cf1bb28
)
rk29: mmu.c: enlarge vmalloc_reserve to support 1G memory
author
黄涛
<huangtao@rock-chips.com>
Mon, 27 Jun 2011 05:06:52 +0000
(13:06 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 27 Jun 2011 05:59:23 +0000
(13:59 +0800)
arch/arm/mm/mmu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/mmu.c
b/arch/arm/mm/mmu.c
index c2f22eaa388ec295646503606248726ae98b8e24..0a24e5e04cb3d7a661a37a25108df49d087a8518 100644
(file)
--- a/
arch/arm/mm/mmu.c
+++ b/
arch/arm/mm/mmu.c
@@
-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'