فهرست منبع

[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;