瀏覽代碼

[MM]: sparse_init() should be __init.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 18 年之前
父節點
當前提交
6a5b518f22
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mm/sparse.c

+ 1 - 1
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;