From: Adrian Bunk Date: Sat, 26 Jul 2008 02:46:22 +0000 (-0700) Subject: make mm/sparse.c: make a function static X-Git-Tag: v2.6.27-rc1~95 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9e5c6da71e89fa25ced6e88182225a99941bec90;p=linux-2.6-omap-h63xx.git make mm/sparse.c: make a function static This patch makes the needlessly global sparse_early_mem_map_alloc() static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/sparse.c b/mm/sparse.c index 8ffc0899000..5d9dbbb9d39 100644 --- a/mm/sparse.c +++ b/mm/sparse.c @@ -377,7 +377,7 @@ struct page __init *sparse_mem_map_populate(unsigned long pnum, int nid) } #endif /* !CONFIG_SPARSEMEM_VMEMMAP */ -struct page __init *sparse_early_mem_map_alloc(unsigned long pnum) +static struct page __init *sparse_early_mem_map_alloc(unsigned long pnum) { struct page *map; struct mem_section *ms = __nr_to_section(pnum);