]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/bootmem_info.c: mark __init on register_page_bootmem_info_section
authorMuchun Song <songmuchun@bytedance.com>
Mon, 23 Aug 2021 23:59:22 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:33:59 +0000 (09:33 +1000)
commitce2a5719348e91fb3005ce76d305c42c80f7c410
treeeb7d1b155b5f2b62c594c1b27b5fc6eca546b3f7
parentba875c6c47796c2904ca896027de123db2e36c91
mm/bootmem_info.c: mark __init on register_page_bootmem_info_section

register_page_bootmem_info_section() is only called from __init functions,
so mark it __init as well.

Link: https://lkml.kernel.org/r/20210817042221.77172-1-songmuchun@bytedance.com
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/bootmem_info.c