[<prev] [next>] [day] [month] [year] [list]
Message-ID: <0D753D10438DA54287A00B027084269764CE0E545D@AUSP01VMBX24.collaborationhost.net>
Date: Tue, 11 Jan 2011 17:19:30 -0600
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: "linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] mm/memblock: local functions should be static
The function memblock_overlaps_region() is only used in this file and should
be marked static.
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
---
diff --git a/mm/memblock.c b/mm/memblock.c
index 400dc62..69702ef 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -80,7 +80,8 @@ static long __init_memblock memblock_regions_adjacent(struct memblock_type *type
return memblock_addrs_adjacent(base1, size1, base2, size2);
}
-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;
Powered by blists - more mailing lists