diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-26 04:46:22 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 21:00:12 +0200 |
commit | 9e5c6da71e89fa25ced6e88182225a99941bec90 (patch) | |
tree | 076faf410107f55d1d6cfdf05c779faf0b5d21e3 | |
parent | make parport_cs_release() static (diff) | |
download | linux-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.c | 2 |
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); |