diff options
Diffstat (limited to 'mm/memblock.c')
-rw-r--r-- | mm/memblock.c | 5 |
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 | ||
38 | int memblock_debug __initdata_memblock; | 38 | int memblock_debug __initdata_memblock; |
39 | int memblock_can_resize __initdata_memblock; | 39 | static 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 */ |
42 | static inline const char *memblock_type_name(struct memblock_type *type) | 42 | static 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 | ||
921 | void __init memblock_analyze(void) | 921 | void __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 | ||