]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/bootmem_info.c: mark __init on register_page_bootmem_info_section
authorMuchun Song <songmuchun@bytedance.com>
Thu, 2 Sep 2021 21:56:55 +0000 (14:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:14 +0000 (09:58 -0700)
commitcdcfc631c80e716d4b3bf534471273456bb99556
tree2b746d1988fed06e9ae2b99b7517c6941149c1c3
parent5e22928abe671ea1541f19afb80523442938d342
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: Linus Torvalds <torvalds@linux-foundation.org>
mm/bootmem_info.c