memblock: s/memblock_analyze()/memblock_allow_resize()/ and update users
[deliverable/linux.git] / mm / memblock.c
index f39964184b4adbda6ba62197d2828bd4206747fe..a3ca95f35e03cc4d02220a6a4ed1894455b62926 100644 (file)
@@ -36,7 +36,7 @@ struct memblock memblock __initdata_memblock = {
 };
 
 int memblock_debug __initdata_memblock;
-int memblock_can_resize __initdata_memblock;
+static int memblock_can_resize __initdata_memblock;
 
 /* inline so we don't get a warning when pr_debug is compiled out */
 static inline const char *memblock_type_name(struct memblock_type *type)
@@ -918,9 +918,8 @@ void __init_memblock __memblock_dump_all(void)
        memblock_dump(&memblock.reserved, "reserved");
 }
 
-void __init memblock_analyze(void)
+void __init memblock_allow_resize(void)
 {
-       /* We allow resizing from there */
        memblock_can_resize = 1;
 }
 
This page took 0.025921 seconds and 5 git commands to generate.