diff options
author | Alexander Kuleshov <kuleshovmail@gmail.com> | 2015-11-05 21:47:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-05 22:34:48 -0500 |
commit | 35bd16a227534cb6ffc9b26a33061c2dcf91934b (patch) | |
tree | 6b224349effd92fbc255d894f3227b4b9fea37e0 /include/linux/memblock.h | |
parent | f19cb115a25f3f25752fdc56340e7433462157ba (diff) |
mm/memblock: make memblock_remove_range() static
memblock_remove_range() is only used in the mm/memblock.c, so we can make
it static.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/memblock.h')
-rw-r--r-- | include/linux/memblock.h | 4 |
1 files changed, 0 insertions, 4 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 | ||
92 | int memblock_remove_range(struct memblock_type *type, | ||
93 | phys_addr_t base, | ||
94 | phys_addr_t size); | ||
95 | |||
96 | void __next_mem_range(u64 *idx, int nid, ulong flags, | 92 | void __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, |