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 ae8b06c828c7..400dc62697d7 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -99,7 +99,7 @@ long __init_memblock memblock_overlaps_region(struct memblock_type *type, phys_a
99 * are top-down. 99 * are top-down.
100 */ 100 */
101 101
102static phys_addr_t __init memblock_find_region(phys_addr_t start, phys_addr_t end, 102static phys_addr_t __init_memblock memblock_find_region(phys_addr_t start, phys_addr_t end,
103 phys_addr_t size, phys_addr_t align) 103 phys_addr_t size, phys_addr_t align)
104{ 104{
105 phys_addr_t base, res_base; 105 phys_addr_t base, res_base;
@@ -653,7 +653,7 @@ void __init memblock_enforce_memory_limit(phys_addr_t memory_limit)
653 } 653 }
654} 654}
655 655
656static int memblock_search(struct memblock_type *type, phys_addr_t addr) 656static int __init_memblock memblock_search(struct memblock_type *type, phys_addr_t addr)
657{ 657{
658 unsigned int left = 0, right = type->cnt; 658 unsigned int left = 0, right = type->cnt;
659 659