From: Rasmus Villemoes Date: Thu, 12 Feb 2015 23:00:09 +0000 (-0800) Subject: mm/mm_init.c: park mminit_verify_zonelist as __init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e2342c709aa568b90cde3387d6e588ca862a0ba;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git mm/mm_init.c: park mminit_verify_zonelist as __init The only caller of mminit_verify_zonelist is build_all_zonelists_init, which is annotated with __init, so it should be safe to also mark the former as __init, saving ~400 bytes of .text. Signed-off-by: Rasmus Villemoes Cc: Vlastimil Babka Cc: Rik van Riel Cc: Joonsoo Kim Cc: David Rientjes Cc: Vishnu Pratap Singh Cc: Pintu Kumar Cc: Michal Nazarewicz Cc: Mel Gorman Cc: Paul Gortmaker Cc: Peter Zijlstra Cc: Tim Chen Cc: Hugh Dickins Cc: Li Zefan Cc: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/mm_init.c b/mm/mm_init.c index 4074caf9936b..e17c758b27bf 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -21,7 +21,7 @@ int mminit_loglevel; #endif /* The zonelists are simply reported, validation is manual. */ -void mminit_verify_zonelist(void) +void __init mminit_verify_zonelist(void) { int nid;