diff options
author | Alexander Kuleshov <kuleshovmail@gmail.com> | 2015-11-06 03:47:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-06 04:34:48 +0100 |
commit | 35bd16a227534cb6ffc9b26a33061c2dcf91934b (patch) | |
tree | 6b224349effd92fbc255d894f3227b4b9fea37e0 /mm/memblock.c | |
parent | mm/mremap: use offset_in_page macro (diff) | |
download | linux-35bd16a227534cb6ffc9b26a33061c2dcf91934b.tar.xz linux-35bd16a227534cb6ffc9b26a33061c2dcf91934b.zip |
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 'mm/memblock.c')
-rw-r--r-- | mm/memblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, return 0; } -int __init_memblock memblock_remove_range(struct memblock_type *type, +static int __init_memblock memblock_remove_range(struct memblock_type *type, phys_addr_t base, phys_addr_t size) { int start_rgn, end_rgn; |