From: Adrian Bunk This patch makes the needlessly global sparse_early_mem_map_alloc() static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- mm/sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/sparse.c~make-mm-sparsec-make-a-function-static mm/sparse.c --- a/mm/sparse.c~make-mm-sparsec-make-a-function-static +++ a/mm/sparse.c @@ -301,7 +301,7 @@ struct page __init *sparse_mem_map_popul } #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); _