mm/mm_init.c: mark check_for_memory() as __init
authorHaifeng Xu <haifeng.xu@shopee.com>
Mon, 10 Jul 2023 09:37:50 +0000 (09:37 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:18 +0000 (10:12 -0700)
commitb894da0468640f610d47624e872dc11f2ae5bb4b
tree1279581a28649db86fe747350719318e9eee5ff7
parentf9044f170c5e89a12116066d1b9b932e934b9efb
mm/mm_init.c: mark check_for_memory() as __init

The only caller of check_for_memory() is free_area_init(), which is
annotated with __init, so it should be safe to also mark the former as
__init.

Link: https://lkml.kernel.org/r/20230710093750.1294-1-haifeng.xu@shopee.com
Signed-off-by: Haifeng Xu <haifeng.xu@shopee.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mm_init.c