aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memblock.c')
-rw-r--r--mm/memblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index 31e89dac9a23..618f94a1eedb 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -132,7 +132,7 @@ static int memblock_can_resize __initdata_memblock;
132static int memblock_memory_in_slab __initdata_memblock = 0; 132static int memblock_memory_in_slab __initdata_memblock = 0;
133static int memblock_reserved_in_slab __initdata_memblock = 0; 133static int memblock_reserved_in_slab __initdata_memblock = 0;
134 134
135enum memblock_flags __init_memblock choose_memblock_flags(void) 135static enum memblock_flags __init_memblock choose_memblock_flags(void)
136{ 136{
137 return system_has_some_mirror ? MEMBLOCK_MIRROR : MEMBLOCK_NONE; 137 return system_has_some_mirror ? MEMBLOCK_MIRROR : MEMBLOCK_NONE;
138} 138}
@@ -261,7 +261,7 @@ __memblock_find_range_top_down(phys_addr_t start, phys_addr_t end,
261 * Return: 261 * Return:
262 * Found address on success, 0 on failure. 262 * Found address on success, 0 on failure.
263 */ 263 */
264phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t size, 264static phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t size,
265 phys_addr_t align, phys_addr_t start, 265 phys_addr_t align, phys_addr_t start,
266 phys_addr_t end, int nid, 266 phys_addr_t end, int nid,
267 enum memblock_flags flags) 267 enum memblock_flags flags)