aboutsummaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-07 02:54:25 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-07 02:54:25 -0400
commit6a5b518f222449e707e553573f937faf6e57f03d (patch)
treedf05575e5f9c128fe564cfe83ce7fe4255b39028 /mm/sparse.c
parent7db00552d937e4c0825895734ba5fe257dfe8ced (diff)
[MM]: sparse_init() should be __init.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/sparse.c')
-rw-r--r--mm/sparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/sparse.c b/mm/sparse.c
index ac26eb0d73cd..893e5621c247 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -272,7 +272,7 @@ static void __kfree_section_memmap(struct page *memmap, unsigned long nr_pages)
272 * Allocate the accumulated non-linear sections, allocate a mem_map 272 * Allocate the accumulated non-linear sections, allocate a mem_map
273 * for each and record the physical to section mapping. 273 * for each and record the physical to section mapping.
274 */ 274 */
275void sparse_init(void) 275void __init sparse_init(void)
276{ 276{
277 unsigned long pnum; 277 unsigned long pnum;
278 struct page *map; 278 struct page *map;