• P
    mm: more __meminit annotations · 6ea6e688
    Paul Mundt 提交于
    Currently zone_spanned_pages_in_node() and zone_absent_pages_in_node() are
    non-static for ARCH_POPULATES_NODE_MAP and static otherwise.  However, only
    the non-static versions are __meminit annotated, despite only being called
    from __meminit functions in either case.
    
    zone_init_free_lists() is currently non-static and not __meminit annotated
    either, despite only being called once in the entire tree by
    init_currently_empty_zone(), which too is __meminit.  So make it static and
    properly annotated.
    Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
    Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    6ea6e688
page_alloc.c 97.6 KB