summaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
diff options
context:
space:
mode:
authorH Hartley Sweeten2011-11-01 01:09:15 +0100
committerLinus Torvalds2011-11-01 01:30:50 +0100
commit2d7d3eb2bad116e0d1b3b3930a923c55f6d0f70e (patch)
treeace773565549cc0b97657654983701b6ea5f9f55 /mm/memblock.c
parentmm: disable user interface to manually rescue unevictable pages (diff)
downloadkernel-qcow2-linux-2d7d3eb2bad116e0d1b3b3930a923c55f6d0f70e.tar.gz
kernel-qcow2-linux-2d7d3eb2bad116e0d1b3b3930a923c55f6d0f70e.tar.xz
kernel-qcow2-linux-2d7d3eb2bad116e0d1b3b3930a923c55f6d0f70e.zip
mm/memblock.c: quiet sparse noise
Quiet the following sparse noise in this file: warning: symbol 'memblock_overlaps_region' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers,com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: "H. Peter Anvin" <hpa@linux.intel.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Tomi Valkeinen <tomi.valkeinen@nokia.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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index 7d4f5c8a96cb..84bec4969ed5 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -58,7 +58,8 @@ static unsigned long __init_memblock memblock_addrs_overlap(phys_addr_t base1, p
return ((base1 < (base2 + size2)) && (base2 < (base1 + size1)));
}
-long __init_memblock memblock_overlaps_region(struct memblock_type *type, phys_addr_t base, phys_addr_t size)
+static long __init_memblock memblock_overlaps_region(struct memblock_type *type,
+ phys_addr_t base, phys_addr_t size)
{
unsigned long i;