summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/memblock.h4
-rw-r--r--mm/memblock.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index c518eb589260..24daf8fc4d7c 100644
--- a/include/linux/memblock.h
+++ b/include/linux/memblock.h
@@ -89,10 +89,6 @@ int memblock_add_range(struct memblock_type *type,
89 phys_addr_t base, phys_addr_t size, 89 phys_addr_t base, phys_addr_t size,
90 int nid, unsigned long flags); 90 int nid, unsigned long flags);
91 91
92int memblock_remove_range(struct memblock_type *type,
93 phys_addr_t base,
94 phys_addr_t size);
95
96void __next_mem_range(u64 *idx, int nid, ulong flags, 92void __next_mem_range(u64 *idx, int nid, ulong flags,
97 struct memblock_type *type_a, 93 struct memblock_type *type_a,
98 struct memblock_type *type_b, phys_addr_t *out_start, 94 struct memblock_type *type_b, phys_addr_t *out_start,
diff --git a/mm/memblock.c b/mm/memblock.c
index 1c7b647e5897..d300f1329814 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -706,7 +706,7 @@ static int __init_memblock memblock_isolate_range(struct memblock_type *type,
706 return 0; 706 return 0;
707} 707}
708 708
709int __init_memblock memblock_remove_range(struct memblock_type *type, 709static int __init_memblock memblock_remove_range(struct memblock_type *type,
710 phys_addr_t base, phys_addr_t size) 710 phys_addr_t base, phys_addr_t size)
711{ 711{
712 int start_rgn, end_rgn; 712 int start_rgn, end_rgn;