From 6a5b518f222449e707e553573f937faf6e57f03d Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sun, 6 May 2007 23:54:25 -0700 Subject: [PATCH] [MM]: sparse_init() should be __init. Signed-off-by: David S. Miller --- mm/sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/sparse.c b/mm/sparse.c index ac26eb0d73..893e5621c2 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) * Allocate the accumulated non-linear sections, allocate a mem_map * for each and record the physical to section mapping. */ -void sparse_init(void) +void __init sparse_init(void) { unsigned long pnum; struct page *map; -- 2.39.5