summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-26 04:46:22 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 21:00:12 +0200
commit9e5c6da71e89fa25ced6e88182225a99941bec90 (patch)
tree076faf410107f55d1d6cfdf05c779faf0b5d21e3
parentmake parport_cs_release() static (diff)
downloadlinux-9e5c6da71e89fa25ced6e88182225a99941bec90.tar.xz
linux-9e5c6da71e89fa25ced6e88182225a99941bec90.zip
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 <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/sparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/sparse.c b/mm/sparse.c
index 8ffc08990008..5d9dbbb9d39e 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);