Skip to content
  • Paul Mundt's avatar
    mm: more __meminit annotations · 6ea6e688
    Paul Mundt authored
    
    
    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: default avatarPaul Mundt <lethal@linux-sh.org>
    Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    6ea6e688