summaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memblock.c')
-rw-r--r--mm/memblock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index f39964184b4a..a3ca95f35e03 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -36,7 +36,7 @@ struct memblock memblock __initdata_memblock = {
36}; 36};
37 37
38int memblock_debug __initdata_memblock; 38int memblock_debug __initdata_memblock;
39int memblock_can_resize __initdata_memblock; 39static int memblock_can_resize __initdata_memblock;
40 40
41/* inline so we don't get a warning when pr_debug is compiled out */ 41/* inline so we don't get a warning when pr_debug is compiled out */
42static inline const char *memblock_type_name(struct memblock_type *type) 42static inline const char *memblock_type_name(struct memblock_type *type)
@@ -918,9 +918,8 @@ void __init_memblock __memblock_dump_all(void)
918 memblock_dump(&memblock.reserved, "reserved"); 918 memblock_dump(&memblock.reserved, "reserved");
919} 919}
920 920
921void __init memblock_analyze(void) 921void __init memblock_allow_resize(void)
922{ 922{
923 /* We allow resizing from there */
924 memblock_can_resize = 1; 923 memblock_can_resize = 1;
925} 924}
926 925